Commit ef79556f by 张立顺

fix

1 parent ffbcf91a
...@@ -1340,7 +1340,7 @@ export default { ...@@ -1340,7 +1340,7 @@ export default {
}, },
// 获取店铺信息 // 获取店铺信息
getStoreInfo() { getStoreInfo() {
const { merchantId } = this.$route.query.merchantId || '' const { merchantId } = this.$route.query || ''
let para = { let para = {
merchantId merchantId
} }
......
...@@ -28,7 +28,7 @@ export default { ...@@ -28,7 +28,7 @@ export default {
// 判断是否开通 // 判断是否开通
isOpenSettin() { isOpenSettin() {
localStorage.removeItem('preSetStatus') localStorage.removeItem('preSetStatus')
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 => {
// data != null 且data.openFlag == 1 为开通,其他的都是未开通 // data != null 且data.openFlag == 1 为开通,其他的都是未开通
const { code, data } = res const { code, data } = res
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!