src/views/mine/stores/stores.vue
@@ -43,6 +43,7 @@ </template> <script> import { mapState } from 'vuex'; export default { name: "stores", data() { @@ -55,9 +56,11 @@ 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: {