small-program/store/index.js
@@ -26,6 +26,7 @@ latitude: '', longitude: '', cityId: '', cityName: '', address:'定位中' }, mutations: { @@ -71,6 +72,7 @@ state.longitude = obj.longitude state.address = obj.address state.cityId = obj.cityId state.cityName = obj.cityName }, // 清除城市id clearCityId(state) {