src/views/personalCenter/components/Content.vue
@@ -20,6 +20,9 @@ window._AMapSecurityConfig = { securityJsCode: "768ab79bdc4075aa082bc070c53bb3c4", }; if (this.$route.query && this.$route.query.id) { this.activeIndex = this.$route.query.id; } }, mounted() {}, components: { @@ -51,9 +54,9 @@ mChange(i) { this.activeIndex = i; }, gotolist(){ this.mChange(4) } gotolist() { this.mChange(4); }, }, }; </script>