Merge pull request 'bugfix' (#12) from main into prod

Reviewed-on: #12
This commit is contained in:
charles 2025-08-19 19:00:00 +08:00
commit dbe007f81b

View File

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