sunchengjie 8 months ago
parent
commit
eeb0951af9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/pages/express.vue

+ 2 - 1
src/pages/express.vue

@@ -225,6 +225,7 @@
 </template>
 
 <script>
+import { getWxConfig } from '../api/index'
 import wx from "weixin-jsapi";
 import areaList from "@/script/areas.js"
 import { Toast } from 'vant';
@@ -301,7 +302,7 @@ export default {
 			// },//收件人的姓名手机地址
 		}
 	},
-	created: function () {
+	async created(){
         if (this.$route.path !== "/Login") {
             const res = await checkIsLogin();
             if (res.msg !== "success") {