diff --git a/src/views/system/DictList.vue b/src/views/system/DictList.vue index 312629a..73ef1d7 100644 --- a/src/views/system/DictList.vue +++ b/src/views/system/DictList.vue @@ -136,7 +136,7 @@ export default { scopedSlots: { customRender: 'action' } } ], - canOpeFlag: process.env.VUE_APP_TAG_FLAG === '0', // 是否可以操作编辑和删除,开发环境可以 + canOpeFlag: false, // process.env.VUE_APP_TAG_FLAG === '0', // 是否可以操作编辑和删除,开发环境可以 dict: '', labelCol: { xs: { span: 8 }, diff --git a/src/views/system/tags/modules/TagContentDictListDrawer.vue b/src/views/system/tags/modules/TagContentDictListDrawer.vue index f254061..22e337d 100644 --- a/src/views/system/tags/modules/TagContentDictListDrawer.vue +++ b/src/views/system/tags/modules/TagContentDictListDrawer.vue @@ -30,10 +30,10 @@
- - {{ $t('newlyAdded') }} + + {{ $t('newlyAdded') }} - {{ $t('batchDelete') }} + {{ $t('batchDelete') }}
{ - return (this.canOpeFlag || record.isReadOnly === IsReadOnlyEnums.configurable.value) + return (record.isReadOnly === IsReadOnlyEnums.configurable.value) } }, // 删除 @@ -159,7 +159,7 @@ export default { clickEvent: 'handleDelete', has: 'sys:dict:operation', show: (record) => { - return (this.canOpeFlag || record.isReadOnly === IsReadOnlyEnums.configurable.value) + return (record.isReadOnly === IsReadOnlyEnums.configurable.value) } } ]