Explorar el Código

fix(notice): fix noticePermission

lind hace 3 años
padre
commit
c8b362bb0e

BIN
public/images/login.png


+ 1 - 1
src/components/ProTableCard/CardItems/noticeConfig.tsx

@@ -12,7 +12,7 @@ export interface NoticeCardProps extends ConfigItem {
 
 export default (props: NoticeCardProps) => {
   return (
-    <TableCard detail={props.detail} actions={props.actions} showStatus={false}>
+    <TableCard detail={props.detail} actions={props.actions} showStatus={false} showMask={false}>
       <div className={'pro-table-card-item'}>
         <div className={'card-item-avatar'}>
           <img width={88} height={88} src={imgMap[props.type]} alt={props.type} />

+ 1 - 1
src/components/ProTableCard/CardItems/noticeTemplate.tsx

@@ -39,7 +39,7 @@ export const typeList = {
 
 export default (props: NoticeCardProps) => {
   return (
-    <TableCard actions={props.actions} showStatus={false} detail={props.detail}>
+    <TableCard actions={props.actions} showStatus={false} detail={props.detail} showMask={false}>
       <div className={'pro-table-card-item'}>
         <div className={'card-item-avatar'}>
           <img width={88} height={88} src={imgMap[props.type]} alt={props.type} />