From bc25430fa510bc53397a374c0fe6b0d9fc5206b4 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 20 Jun 2026 21:46:59 -0700 Subject: [PATCH] =?UTF-8?q?fix(ts):=20=E4=BD=8E=E9=A3=8E=E9=99=A9=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E4=BF=AE=E5=A4=8D=E5=B9=B6=E4=BF=AE=E5=A4=8D=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E4=BA=A4=E4=BA=92=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - formatDate 入参放宽为 dayjs.ConfigType,删除冗余 formatDateByConfig - 多处 ref([]) 补精确数组类型(BPM/AI workflow/SMS log/DiyEditor 等) - 路由参数/模板 index 显式 Number(),Upload 响应补局部类型 - LeaveCreateData 局部扩展 startUserSelectAssignees,不污染共享 VO - 修复 mall 订单详情 formatDate.deliveryTime typo(发货时间行此前不显示) - 修复 FloatingActionButton 缺失 handleActive,预览态点击仅收起面板 ts:check 542 → 478,无新增类型错误 --- src/api/mall/statistics/trade.ts | 4 +- .../mobile/FloatingActionButton/index.vue | 6 ++- .../components/mobile/ProductList/index.vue | 6 ++- .../mobile/PromotionArticle/property.vue | 2 +- .../nodes-config/ChildProcessNodeConfig.vue | 8 ++- .../src/nodes-config/RouterNodeConfig.vue | 12 +++-- .../components/HttpRequestSetting.vue | 2 +- src/components/UploadFile/src/UploadFile.vue | 7 ++- src/components/UploadFile/src/UploadImgs.vue | 7 ++- src/hooks/web/useNProgress.ts | 2 +- src/plugins/elementPlus/index.ts | 2 +- src/plugins/formCreate/index.ts | 2 +- src/plugins/tongji/index.ts | 2 +- src/utils/formatTime.ts | 4 +- .../ai/knowledge/document/form/SplitStep.vue | 4 +- .../ai/knowledge/document/form/UploadStep.vue | 2 +- src/views/ai/workflow/form/WorkflowDesign.vue | 50 +++++++++++++------ src/views/bpm/oa/leave/create.vue | 15 ++++-- .../bpm/processInstance/manager/index.vue | 10 ++-- src/views/crm/product/detail/index.vue | 2 +- .../iot/product/product/detail/index.vue | 2 +- src/views/mall/trade/order/detail/index.vue | 2 +- src/views/system/sms/log/index.vue | 4 +- 23 files changed, 104 insertions(+), 53 deletions(-) diff --git a/src/api/mall/statistics/trade.ts b/src/api/mall/statistics/trade.ts index e59952a6a..4a21500f6 100644 --- a/src/api/mall/statistics/trade.ts +++ b/src/api/mall/statistics/trade.ts @@ -115,5 +115,7 @@ export const getOrderCountTrendComparison = ( /** 时间参数需要格式化, 确保接口能识别 */ const formatDateParam = (params: TradeTrendReqVO) => { - return { times: [formatDate(params.times[0]), formatDate(params.times[1])] } as TradeTrendReqVO + return { + times: [formatDate(params.times[0]), formatDate(params.times[1])] + } as TradeTrendReqVO } diff --git a/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue b/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue index d30f0a202..ea117e4e3 100644 --- a/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue +++ b/src/components/DiyEditor/components/mobile/FloatingActionButton/index.vue @@ -13,7 +13,7 @@ v-for="(item, index) in property.list" :key="index" class="flex flex-col items-center" - @click="handleActive(index)" + @click="handleActive" >