bugfix #12

Merged
charles merged 1 commits from main into prod 2025-08-19 19:00:01 +08:00

View File

@ -178,7 +178,7 @@ export default Vue.extend({
}).then(res => { }).then(res => {
const dataList = res && res.data && res.data.data const dataList = res && res.data && res.data.data
const hasAuditInfo = Array.isArray(dataList) && dataList.length !== 0 const hasAuditInfo = Array.isArray(dataList) && dataList.length !== 0
const roles = sessionStorage.getItem('juese') const roles = sessionStorage.getItem('jueseNew')
const isCustomer = roles ? roles.includes('客户') : true const isCustomer = roles ? roles.includes('客户') : true
if (hasAuditInfo || !isCustomer) { if (hasAuditInfo || !isCustomer) {
this.publish_type = type this.publish_type = type