hookehuyr

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

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