完善定位功能

This commit is contained in:
2025-05-02 14:41:47 +08:00
parent 05aaed3b16
commit c7b6aacafb
268 changed files with 8649 additions and 3000 deletions

View File

@ -160,7 +160,7 @@ var _default = {
onHide: function onHide() {
console.log("App Hide");
},
methods: _objectSpread(_objectSpread(_objectSpread({}, (0, _vuex.mapMutations)(["SETCONFIG"])), (0, _vuex.mapActions)(["getUser"])), {}, {
methods: _objectSpread(_objectSpread(_objectSpread({}, (0, _vuex.mapMutations)(["SETCONFIG"])), (0, _vuex.mapActions)(["getUser", "initLocationFunc"])), {}, {
getSystemInfo: function getSystemInfo() {
var _this = this;
uni.getSystemInfo({
@ -220,6 +220,7 @@ var _default = {
code = _yield$getConfig.code;
data = _yield$getConfig.data;
if (code == 1) {
_this2.initLocationFunc();
_this2.SETCONFIG(data);
(0, _tools.setTabbar)();
}