bugfix
This commit is contained in:
parent
c077930b30
commit
c05ed767b3
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user