From 3bf91cedc97fabf337aa7426807a36a8bc1ef376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E7=BA=A7=E8=80=81=E7=99=BD=E5=85=94?= Date: Wed, 27 Aug 2025 17:48:15 +0800 Subject: [PATCH] =?UTF-8?q?refactor(ui):=20=E7=A7=BB=E9=99=A4=E6=89=8B?= =?UTF-8?q?=E5=8A=A8=E6=B7=BB=E5=8A=A0=E9=80=89=E9=A1=B9=E5=B9=B6=E9=87=8D?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E6=8E=A7=E5=88=B6=E7=BB=88=E7=AB=AF=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除两个页面中的"手动添加"标签页选项 - 将controlTerminalList重命名为kfUserList以提高可读性 - 更新构建文件引用路径 --- Cunkebao/dist/.vite/manifest.json | 18 +++++++++--------- Cunkebao/dist/index.html | 8 ++++---- Cunkebao/src/pages/guide/index.tsx | 1 - .../src/pages/mobile/mine/devices/index.tsx | 1 - Cunkebao/src/pages/pc/ckbox/main.ts | 8 ++++++-- 5 files changed, 19 insertions(+), 17 deletions(-) diff --git a/Cunkebao/dist/.vite/manifest.json b/Cunkebao/dist/.vite/manifest.json index 42480c71..f5df3f32 100644 --- a/Cunkebao/dist/.vite/manifest.json +++ b/Cunkebao/dist/.vite/manifest.json @@ -1,9 +1,9 @@ { - "_charts-DDGb1us0.js": { - "file": "assets/charts-DDGb1us0.js", + "_charts-BY5IGS3y.js": { + "file": "assets/charts-BY5IGS3y.js", "name": "charts", "imports": [ - "_ui-rFvxQTWo.js", + "_ui-g-9w80lh.js", "_vendor-2vc8h_ct.js" ] }, @@ -11,8 +11,8 @@ "file": "assets/ui-D0C0OGrH.css", "src": "_ui-D0C0OGrH.css" }, - "_ui-rFvxQTWo.js": { - "file": "assets/ui-rFvxQTWo.js", + "_ui-g-9w80lh.js": { + "file": "assets/ui-g-9w80lh.js", "name": "ui", "imports": [ "_vendor-2vc8h_ct.js" @@ -33,18 +33,18 @@ "name": "vendor" }, "index.html": { - "file": "assets/index-C3xy08Hg.js", + "file": "assets/index-D1PYRHiS.js", "name": "index", "src": "index.html", "isEntry": true, "imports": [ "_vendor-2vc8h_ct.js", - "_ui-rFvxQTWo.js", "_utils-6WF66_dS.js", - "_charts-DDGb1us0.js" + "_ui-g-9w80lh.js", + "_charts-BY5IGS3y.js" ], "css": [ - "assets/index-D4Jt-UDy.css" + "assets/index-ejYsXKTB.css" ] } } \ No newline at end of file diff --git a/Cunkebao/dist/index.html b/Cunkebao/dist/index.html index f4b62be3..abe21cc7 100644 --- a/Cunkebao/dist/index.html +++ b/Cunkebao/dist/index.html @@ -11,13 +11,13 @@ - + - - + + - +
diff --git a/Cunkebao/src/pages/guide/index.tsx b/Cunkebao/src/pages/guide/index.tsx index da42ed05..1610bdbc 100644 --- a/Cunkebao/src/pages/guide/index.tsx +++ b/Cunkebao/src/pages/guide/index.tsx @@ -282,7 +282,6 @@ const Guide: React.FC = () => { style={{ marginBottom: 16 }} > - {addTab === "scan" && (
diff --git a/Cunkebao/src/pages/mobile/mine/devices/index.tsx b/Cunkebao/src/pages/mobile/mine/devices/index.tsx index c4199a43..62fe17f2 100644 --- a/Cunkebao/src/pages/mobile/mine/devices/index.tsx +++ b/Cunkebao/src/pages/mobile/mine/devices/index.tsx @@ -379,7 +379,6 @@ const Devices: React.FC = () => { style={{ marginBottom: 16 }} > - {addTab === "scan" && (
diff --git a/Cunkebao/src/pages/pc/ckbox/main.ts b/Cunkebao/src/pages/pc/ckbox/main.ts index 55bb7176..47f14209 100644 --- a/Cunkebao/src/pages/pc/ckbox/main.ts +++ b/Cunkebao/src/pages/pc/ckbox/main.ts @@ -38,19 +38,23 @@ export const chatInitAPIdata = async () => { getUniqueWechatAccountIds(contractList); //获取控制终端列表 - const controlTerminalList: CkChatCtrlUserData[] = + const kfUserList: CkChatCtrlUserData[] = await getControlTerminalListByWechatAccountIds(uniqueWechatAccountIds); //添加控制终端用户 - controlTerminalList.forEach(item => { + kfUserList.forEach(item => { addCtrlUser(item); }); //获取群列表 const chatRoomList = await getAllChatRoomList(); + + //存入store + return { contractList, chatRoomList, + kfUserList, }; } catch (error) { console.error("获取联系人列表失败:", error);