diff --git a/service-uniapp-client/.env b/service-uniapp-client/.env index c089c55..6b3e2f9 100644 --- a/service-uniapp-client/.env +++ b/service-uniapp-client/.env @@ -1,13 +1,13 @@ # 开发环境 -#VITE_GLOB_API=http://h5.xzaiyp.top/massage-api +#VITE_GLOB_API=http://h5.xzaiyp.top/massage-api-tiandu #VITE_REDIRECT_URI=http://tairoudj.natapp1.cc # 生产环境 -VITE_GLOB_API=https://tai-testapi.sanhemovie.com/massage-api -VITE_REDIRECT_URI=https://tai-testh5.sanhemovie.com +VITE_GLOB_API=https://admin.tiandufuwu.com/massage-api-tiandu +VITE_REDIRECT_URI=https://h5.tiandufuwu.com -VITE_APPID=wxe934cebcbc89d869 +VITE_APPID=wx2cc6f138b02196e3 VITE_MAP_KEY=V5RBZ-QRK63-JAO3B-RLSOB-FLWJF-DVFGH \ No newline at end of file diff --git a/service-uniapp-client/App.vue b/service-uniapp-client/App.vue index 143d0ea..7326bee 100644 --- a/service-uniapp-client/App.vue +++ b/service-uniapp-client/App.vue @@ -5,6 +5,8 @@ export default { onLaunch: function() { this.$.appContext.app.use(plugins) + this.$store.commit('initConfig') + this.$store.commit('getArea') }, onShow: function() { share() diff --git a/service-uniapp-client/components/selectArea.vue b/service-uniapp-client/components/selectArea.vue index eaa9f95..eb07b9d 100644 --- a/service-uniapp-client/components/selectArea.vue +++ b/service-uniapp-client/components/selectArea.vue @@ -1,66 +1,83 @@