From 96d24a8b2270f1557a203525633f2d10ce98dfb6 Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 31 Oct 2024 11:34:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=BB=98=E8=AE=A4=E5=80=BC?= =?UTF-8?q?=E7=BB=99=E5=AE=9A=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/oms/apps/develop/AppDeployCustom/add.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/oms/apps/develop/AppDeployCustom/add.vue b/project/oms/apps/develop/AppDeployCustom/add.vue index 88e350ab..b87e930e 100644 --- a/project/oms/apps/develop/AppDeployCustom/add.vue +++ b/project/oms/apps/develop/AppDeployCustom/add.vue @@ -101,7 +101,7 @@ export default { }, data() { return { - form: {apps: [], type: null, sysInfo: {}, customPath: ""}, + form: {apps: [], type: null, sysInfo: {}, customPath: "", extra: {}}, rules: { name: {required: true, message: "请输入"}, type: {required: true, message: "请选择"}, @@ -137,7 +137,7 @@ export default { params: {id} }).then(res => { if (res?.data) { - this.form = {extra: {}, ...this.form, ...res.data} + this.form = {...this.form, ...res.data} } }) },