diff --git a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsList.vue b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsList.vue index 33b3e1e..15c370e 100644 --- a/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsList.vue +++ b/src/views/standardRegulationLibrary/marketRegulationsList/MarketRegulationsList.vue @@ -217,7 +217,7 @@ export default { has: '', // 已发布状态不显示发布按钮,只有作者和管理员可以发布 show: (record) => { - return record.manifestStatus !== ListState.RELEASED.value && (this.isAdmin || this.userInfo.id === record.createBy) + return record.manifestStatus !== ListState.RELEASED.value && (this.isAdmin || this.userInfo.id === record.author) } }, // 编辑 @@ -227,7 +227,7 @@ export default { has: 'marketStandard:edit', // 只有作者和管理员可以编辑 show: (record) => { - return this.isAdmin || this.userInfo.id === record.createBy + return this.isAdmin || this.userInfo.id === record.author } }, // 删除 @@ -237,7 +237,7 @@ export default { has: 'marketStandard:deleteBatch', // 只有作者和管理员可以删除 show: (record) => { - return this.isAdmin || this.userInfo.id === record.createBy + return this.isAdmin || this.userInfo.id === record.author } } ],