From fb7d4604d3b0c86f21deba3dfcdd247174e46227 Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期一, 14 十月 2024 13:54:08 +0800 Subject: [PATCH] 修改保存的id和修改展示页面 --- src/views/model/mpk/file/SettingForm.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/model/mpk/file/SettingForm.vue b/src/views/model/mpk/file/SettingForm.vue index aa95209..2ee4f85 100644 --- a/src/views/model/mpk/file/SettingForm.vue +++ b/src/views/model/mpk/file/SettingForm.vue @@ -110,8 +110,8 @@ </template> <script lang="ts" setup> import {DICT_TYPE,getDictOptions} from '@/utils/dict'; - import * as ProjectApi from '@/api/mpk/project' - import * as MpkApi from '@/api/mpk/mpk' + import * as ProjectApi from '@/api/model/mpk/project' + import * as MpkApi from '@/api/model/mpk/mpk' import {FormRules} from 'element-plus' import {generateUUID} from "@/utils"; import {func} from "vue-types"; @@ -199,6 +199,7 @@ for (let key in formData.value) { infoRef[key] = formData.value[key]; } + infoRef = undefined; }else { // 新增 methodSettingsRef.push({...formData.value}) -- Gitblit v1.9.3