完善定位功能
This commit is contained in:
3
App.vue
3
App.vue
@ -45,7 +45,7 @@
|
||||
},
|
||||
methods: {
|
||||
...mapMutations(["SETCONFIG"]),
|
||||
...mapActions(["getUser"]),
|
||||
...mapActions(["getUser", "initLocationFunc"]),
|
||||
getSystemInfo() {
|
||||
uni.getSystemInfo({
|
||||
success: (res) => {
|
||||
@ -83,6 +83,7 @@
|
||||
data
|
||||
} = await getConfig();
|
||||
if (code == 1) {
|
||||
this.initLocationFunc()
|
||||
this.SETCONFIG(data);
|
||||
setTabbar();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user