Commit 77aa81d7 by frenck

解决shop自动绑定到erp时的bug

parent 6d67d4e4
...@@ -93,12 +93,14 @@ export default { ...@@ -93,12 +93,14 @@ export default {
data() { data() {
return { return {
userInfo: JSON.parse(localStorage.getItem('userInfo')), userInfo: JSON.parse(localStorage.getItem('userInfo')),
shopifyObj: JSON.parse(localStorage.getItem('shopifyObj'))
} }
}, },
computed: { computed: {
...mapState(['shopifyObj']), ...mapState(['shopifyObj']),
}, },
mounted() { mounted() {
console.log(this.shopifyObj);
if (this.userInfo && this.shopifyObj) { if (this.userInfo && this.shopifyObj) {
this.getShopifyInfo() this.getShopifyInfo()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment