From 5c475d3ac8ee98713e0f0962dd9464daccfb9eb1 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期四, 28 十一月 2024 18:16:07 +0800
Subject: [PATCH] 模型参数改为output

---
 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