[fix bug87860] 修改标签管理 各环境都可以修改
This commit is contained in:
@@ -117,7 +117,8 @@ export default {
|
|||||||
column: 'orderNum',
|
column: 'orderNum',
|
||||||
order: 'asc'
|
order: 'asc'
|
||||||
},
|
},
|
||||||
canOpeFlag: process.env.VUE_APP_TAG_FLAG === '0', // 是否可以操作编辑和删除,开发环境可以
|
// canOpeFlag: process.env.VUE_APP_TAG_FLAG === '0', // 是否可以操作编辑和删除,开发环境可以
|
||||||
|
canOpeFlag: true, // 是否可以操作编辑和删除,开发环境可以
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
title: this.$t('system.tag.attributeName'),
|
title: this.$t('system.tag.attributeName'),
|
||||||
@@ -170,7 +171,7 @@ export default {
|
|||||||
clickEvent: 'handleEdit',
|
clickEvent: 'handleEdit',
|
||||||
has: 'tag:edit',
|
has: 'tag:edit',
|
||||||
show: (record) => {
|
show: (record) => {
|
||||||
return (this.canOpeFlag && (record.isReadOnly === IsReadOnlyEnums.configurable.value || record.isReadOnly === IsReadOnlyEnums.subConfigurable.value))
|
return (this.canOpeFlag && (record.isReadOnly === IsReadOnlyEnums.configurable.value))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 删除
|
// 删除
|
||||||
|
|||||||
Reference in New Issue
Block a user