update 通知公告显示优化
This commit is contained in:
@@ -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()}
|
||||
|
||||
Reference in New Issue
Block a user