Commit 527ce8a0 by 王志慧

fixed

1 parent e6cd86ee
......@@ -377,7 +377,7 @@ export default {
this.accountLevel = this.$globalState.session.accountLevel
}
// 取消判断
this.showGh = window.location.host.indexOf('cgacar') == -1
this.showGh = window.location.host.indexOf('cgacar') != -1
if (this.showGh) this.judgeGh()
this.getCardContentFun()
this.getCardtypeList()
......
......@@ -163,10 +163,10 @@ export default {
},
listeners: {
click: this.handleShare
},
condition: row => {
return this.showGh
}
// condition: row => {
// return row.state != 1
// }
},
{
type: 'GLButton',
......@@ -362,7 +362,7 @@ export default {
merchantId: this.merchantId
// merchantName
}
this.showGh = window.location.host.indexOf('cgacar') == -1
this.showGh = window.location.host.indexOf('cgacar') != -1
this.dynamicFile()
this.getLoginCountFun()
},
......
......@@ -223,8 +223,7 @@ export default {
this.merchantName = this.$globalState.session.merchantName
this.accountLevel = this.$globalState.session.accountLevel
}
this.showGh = window.location.host.indexOf('cgacar') == -1
console.log(this.showGh)
this.showGh = window.location.host.indexOf('cgacar') != -1
if (this.showGh) {
this.getCardContentFun()
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!