From 647a053cccda8b0a9f965829bec9476d5a38628e 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: Fri, 22 Aug 2025 10:36:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(workspace):=20=E4=BF=AE=E6=AD=A3=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E7=82=B9=E8=B5=9E=E4=BB=BB=E5=8A=A1=E4=B8=AD=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=BB=84=E5=AD=97=E6=AE=B5=E5=90=8D=E7=A7=B0=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复自动点赞任务创建页面中设备组字段名称拼写错误,将`deveicegroups`统一改为`deveiceGroups`,并更新相关逻辑判断和组件属性传递 --- Cunkebao/dist/.vite/manifest.json | 26 +++++++++---------- Cunkebao/dist/index.html | 8 +++--- .../mobile/workspace/auto-like/new/index.tsx | 8 +++--- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Cunkebao/dist/.vite/manifest.json b/Cunkebao/dist/.vite/manifest.json index 1fc771a8..454623cd 100644 --- a/Cunkebao/dist/.vite/manifest.json +++ b/Cunkebao/dist/.vite/manifest.json @@ -1,14 +1,18 @@ { - "_charts-CLRTJ7Uf.js": { - "file": "assets/charts-CLRTJ7Uf.js", + "_charts-DRkEUjsu.js": { + "file": "assets/charts-DRkEUjsu.js", "name": "charts", "imports": [ - "_ui-BFvqeNzU.js", + "_ui-ltFujOOi.js", "_vendor-2vc8h_ct.js" ] }, - "_ui-BFvqeNzU.js": { - "file": "assets/ui-BFvqeNzU.js", + "_ui-D0C0OGrH.css": { + "file": "assets/ui-D0C0OGrH.css", + "src": "_ui-D0C0OGrH.css" + }, + "_ui-ltFujOOi.js": { + "file": "assets/ui-ltFujOOi.js", "name": "ui", "imports": [ "_vendor-2vc8h_ct.js" @@ -17,10 +21,6 @@ "assets/ui-D0C0OGrH.css" ] }, - "_ui-D0C0OGrH.css": { - "file": "assets/ui-D0C0OGrH.css", - "src": "_ui-D0C0OGrH.css" - }, "_utils-6WF66_dS.js": { "file": "assets/utils-6WF66_dS.js", "name": "utils", @@ -33,18 +33,18 @@ "name": "vendor" }, "index.html": { - "file": "assets/index-C48GlG01.js", + "file": "assets/index-DV2QF8R9.js", "name": "index", "src": "index.html", "isEntry": true, "imports": [ "_vendor-2vc8h_ct.js", - "_ui-BFvqeNzU.js", + "_ui-ltFujOOi.js", "_utils-6WF66_dS.js", - "_charts-CLRTJ7Uf.js" + "_charts-DRkEUjsu.js" ], "css": [ - "assets/index-Ta4vyxDJ.css" + "assets/index-DqyE1UEk.css" ] } } \ No newline at end of file diff --git a/Cunkebao/dist/index.html b/Cunkebao/dist/index.html index 8a58e165..76889c66 100644 --- a/Cunkebao/dist/index.html +++ b/Cunkebao/dist/index.html @@ -11,13 +11,13 @@ - + - + - + - +
diff --git a/Cunkebao/src/pages/mobile/workspace/auto-like/new/index.tsx b/Cunkebao/src/pages/mobile/workspace/auto-like/new/index.tsx index b7bc9ba4..5be27d57 100644 --- a/Cunkebao/src/pages/mobile/workspace/auto-like/new/index.tsx +++ b/Cunkebao/src/pages/mobile/workspace/auto-like/new/index.tsx @@ -72,7 +72,7 @@ const NewAutoLike: React.FC = () => { startTime: config.timeRange?.start || config.startTime || "08:00", endTime: config.timeRange?.end || config.endTime || "22:00", contentTypes: config.contentTypes || ["text", "image", "video"], - deveiceGroups: config.deveicegroups || [], + deveiceGroups: config.deveiceGroups || [], deveiceGroupsOptions: config.deveiceGroupsOptions || [], friendsGroups: config.friendsgroups || [], friendsGroupsOptions: config.friendsGroupsOptions || [], @@ -121,7 +121,7 @@ const NewAutoLike: React.FC = () => { message.warning("请输入任务名称"); return; } - if (!formData.deveicegroups || formData.deveicegroups.length === 0) { + if (!formData.deveiceGroups || formData.deveiceGroups.length === 0) { message.warning("请选择执行设备"); return; } @@ -329,7 +329,7 @@ const NewAutoLike: React.FC = () => {
handleUpdateFormData({ devices })} showInput={true} showSelectedList={true} @@ -348,7 +348,7 @@ const NewAutoLike: React.FC = () => { onClick={handleNext} className={style.nextBtn} size="large" - disabled={formData.deveicegroups.length === 0} + disabled={formData.deveiceGroups.length === 0} > 下一步