Commit ffbcf91a by 张立顺

fix 修复取值错误

1 parent ce02cd4d
...@@ -30,7 +30,7 @@ export default { ...@@ -30,7 +30,7 @@ export default {
isOpenSettin() { isOpenSettin() {
localStorage.removeItem('preSetStatus') localStorage.removeItem('preSetStatus')
console.log(this.$route.query.merchantId, 'this.$route') console.log(this.$route.query.merchantId, 'this.$route')
const { merchantId } = this.$route.query.merchantId || '' const { merchantId } = this.$route.query || ''
this.$apis.beforeSale.judgeSetting({ merchantId }).then(res => { this.$apis.beforeSale.judgeSetting({ merchantId }).then(res => {
console.log(res, 'res') console.log(res, 'res')
// data != null 且data.openFlag == 1 为开通,其他的都是未开通 // data != null 且data.openFlag == 1 为开通,其他的都是未开通
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!