src/views/mine/stores/stores.vue
@@ -43,6 +43,7 @@ </template> <script> import { mapState } from 'vuex'; export default { name: "stores", data() { @@ -55,14 +56,15 @@ merId:'', } }, computed:{ ...mapState(['userinfo']) }, created(){ this.merId = this.$route.query.merId; this.merId = this.$route.query.merId?this.$route.query.merId:this.userinfo.orgId; this.init(); }, methods: { init(){ console.log("merId:"+this.merId); this.loading = true this.$api.storeStoreList({ searchKey:this.value,