处理城市切换
This commit is contained in:
@ -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();
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user