From dd29c5918bda7806d4ccaadbe55f97eec9a61dd0 Mon Sep 17 00:00:00 2001 From: wkc <978997012@qq.com> Date: Thu, 26 Feb 2026 11:10:09 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=AE=80=E5=8C=96=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E5=8F=82=E6=95=B0=E4=BF=9D=E5=AD=98=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 modelName 字段 - params 数组只保留 paramCode 和 paramValue - 减少网络传输数据量 --- ruoyi-ui/src/views/ccdi/modelParam/index.vue | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ruoyi-ui/src/views/ccdi/modelParam/index.vue b/ruoyi-ui/src/views/ccdi/modelParam/index.vue index 8ddc338..49ce41f 100644 --- a/ruoyi-ui/src/views/ccdi/modelParam/index.vue +++ b/ruoyi-ui/src/views/ccdi/modelParam/index.vue @@ -119,16 +119,9 @@ export default { const saveDTO = { projectId: this.queryParams.projectId, modelCode: this.queryParams.modelCode, - modelName: this.modelList.find( - (m) => m.modelCode === this.queryParams.modelCode - )?.modelName, params: modifiedParams.map((item) => ({ paramCode: item.paramCode, - paramName: item.paramName, - paramDesc: item.paramDesc, paramValue: item.paramValue, - paramUnit: item.paramUnit, - sortOrder: item.sortOrder, })), };