hookehuyr

fix 授权太慢导致小票页面不显示

Showing 1 changed file with 10 additions and 10 deletions
1 <!-- 1 <!--
2 * @Date: 2023-06-13 13:26:46 2 * @Date: 2023-06-13 13:26:46
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-02-06 19:48:53 4 + * @LastEditTime: 2024-12-26 11:07:25
5 * @FilePath: /xysBooking/src/App.vue 5 * @FilePath: /xysBooking/src/App.vue
6 * @Description: 启动页 6 * @Description: 启动页
7 --> 7 -->
...@@ -41,15 +41,15 @@ setToastDefaultOptions({ ...@@ -41,15 +41,15 @@ setToastDefaultOptions({
41 }); 41 });
42 42
43 onMounted(async () => { 43 onMounted(async () => {
44 - const { data } = await wxJsAPI({ url: '/f/reserve/#/' }); 44 + // const { data } = await wxJsAPI({ url: '/f/reserve/#/' });
45 - data.jsApiList = apiList; 45 + // data.jsApiList = apiList;
46 - wx.config(data); 46 + // wx.config(data);
47 - wx.ready(() => { 47 + // wx.ready(() => {
48 - wx.showAllNonBaseMenuItem(); 48 + // wx.showAllNonBaseMenuItem();
49 - }); 49 + // });
50 - wx.error((err) => { 50 + // wx.error((err) => {
51 - console.warn(err); 51 + // console.warn(err);
52 - }); 52 + // });
53 // 正式环境 53 // 正式环境
54 // TAG:检查是否更新 54 // TAG:检查是否更新
55 if (import.meta.env.PROD) { 55 if (import.meta.env.PROD) {
......