From 00a96d6881dd10ae7d3c4f5437bfceaabe677723 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 14 十一月 2024 10:55:29 +0800
Subject: [PATCH] bug修复

---
 pages/simple-home/index.js  |    4 ++--
 /dev/null                   |    0 
 behaviors/login.js          |    2 +-
 project.private.config.json |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/behaviors/login.js b/behaviors/login.js
index 0fc0dfb..6677a4b 100644
--- a/behaviors/login.js
+++ b/behaviors/login.js
@@ -96,7 +96,7 @@
             loadConfig()
               .then(res => {
                 // 鍒ゆ柇鐢ㄦ埛鏄惁杩涘叆绠�鍖栦富椤�
-                if (app.globalData.userConfig.ucExtension1 == 'simple') {
+                if (app.globalData.userConfig && app.globalData.userConfig.ucExtension1 == 'simple') {
                   wx.redirectTo({
                     url: '/pages/simple-home/index',
                   });
diff --git a/common/common.rar b/common/common.rar
deleted file mode 100644
index aafc7f3..0000000
--- a/common/common.rar
+++ /dev/null
Binary files differ
diff --git a/pages/simple-home/index.js b/pages/simple-home/index.js
index e5d85d5..cf33640 100644
--- a/pages/simple-home/index.js
+++ b/pages/simple-home/index.js
@@ -2,7 +2,7 @@
 import { useLoading } from '../../behaviors/loading';
 import { useOptions } from '../home/options-proxy.js';
 import { useInsepction } from '../home/inspection-proxy.js';
-// import { useSupervision } from '../home/supervision-proxy.js';
+import { useSupervision } from '../home/supervision-proxy.js';
 // import { useNotice } from '../home/notice-proxy.js';
 // import { useNews } from '../home/news-proxy.js';
 import { useProblemChangeList } from '../inspection/ranking/problem-change-list.js';
@@ -16,7 +16,7 @@
     useLoading,
     useOptions,
     useInsepction,
-    // useSupervision,
+    useSupervision,
     // useNotice,
     // useNews,
     useStatistic,
diff --git a/project.private.config.json b/project.private.config.json
index 50b824b..0c5a5c1 100644
--- a/project.private.config.json
+++ b/project.private.config.json
@@ -2,7 +2,7 @@
   "description": "椤圭洰绉佹湁閰嶇疆鏂囦欢銆傛鏂囦欢涓殑鍐呭灏嗚鐩� project.config.json 涓殑鐩稿悓瀛楁銆傞」鐩殑鏀瑰姩浼樺厛鍚屾鍒版鏂囦欢涓�傝瑙佹枃妗o細https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
   "projectname": "ep-law-abiding-manage-weixin",
   "setting": {
-    "compileHotReLoad": true,
+    "compileHotReLoad": false,
     "urlCheck": false
   },
   "libVersion": "3.5.3"

--
Gitblit v1.9.3