update 通知公告显示优化

This commit is contained in:
2021-07-01 22:26:11 +08:00
parent c4c35998a6
commit 850d490a1b
22 changed files with 435 additions and 193 deletions

View File

@@ -28,7 +28,7 @@ const apiAction = {
* 用于弹窗标题
* [必要]
*/
const name = '啥玩意'
const name = '通知公告'
/**
* 统一配置权限标识
@@ -253,6 +253,7 @@ export default class index extends Component {
<Auth auth={{ [authName]: 'add' }}>
<ModalForm
title={`新增${name}`}
width={800}
action={apiAction.add}
ref={this.addForm}
onSuccess={() => this.table.current.onReloadData()}
@@ -264,6 +265,7 @@ export default class index extends Component {
<Auth auth={{ [authName]: 'edit' }}>
<ModalForm
title={`编辑${name}`}
width={800}
action={apiAction.edit}
ref={this.editForm}
onSuccess={() => this.table.current.onReloadData()}