Commit 527ce8a0 by 王志慧

fixed

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