small-program/store/index.js
@@ -19,7 +19,8 @@ openid: token || '', latitude: '', longitude: '' longitude: '', address:'定位中' }, mutations: { // 设置导航栏高度 @@ -49,6 +50,8 @@ console.log(obj) state.latitude = obj.latitude state.longitude = obj.longitude state.address = obj.address console.log("=====================",obj) }, // 清除缓存数据 empty(state) {