处理城市切换

This commit is contained in:
wangxiaowei
2026-07-21 18:45:11 +08:00
parent b5cb33cd07
commit 23d26916ee
7 changed files with 891 additions and 75 deletions

View File

@ -38,7 +38,7 @@
</view>
</template>
<script>
import { mapGetters, mapActions } from "vuex";
import { mapGetters } from "vuex";
export default {
props: {
@ -55,8 +55,6 @@ export default {
...mapGetters(["appConfig"]),
},
methods: {
...mapActions(["initLocationFunc"]),
handleOpen() {
wx.openPrivacyContract({
success: (res) => {
@ -74,9 +72,6 @@ export default {
},
handleAgreePrivacyAuthorization() {
this.$emit("input", false);
if (this.appConfig.is_open_nearby) {
this.initLocationFunc();
}
},
},
};