From dc401f80b9aca3ceb78b758fd1b482f3721017cc Mon Sep 17 00:00:00 2001 From: jiangweidong Date: Thu, 2 Nov 2023 15:39:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E4=BA=91=E5=90=8C=E6=AD=A5=E4=BB=BB=E5=8A=A1=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E4=BC=98=E5=85=88=E7=BA=A7=E6=97=A0=E6=B3=95=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/SyncInstanceTaskStrategy/AttrDialog.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/assets/Cloud/SyncInstanceTask/components/SyncInstanceTaskStrategy/AttrDialog.vue b/src/views/assets/Cloud/SyncInstanceTask/components/SyncInstanceTaskStrategy/AttrDialog.vue index 2e6da8d58..82312dcfa 100644 --- a/src/views/assets/Cloud/SyncInstanceTask/components/SyncInstanceTaskStrategy/AttrDialog.vue +++ b/src/views/assets/Cloud/SyncInstanceTask/components/SyncInstanceTaskStrategy/AttrDialog.vue @@ -27,7 +27,7 @@ export default { props: { value: { type: Object, - default: () => ({ name: '', strategy_rules: [], strategy_actions: [] }) + default: () => ({ name: '', priority: 50, strategy_rules: [], strategy_actions: [] }) }, tableConfig: { type: Object, @@ -76,7 +76,7 @@ export default { getObject() { if (this.value?.id) { return { - id: this.value.id, name: this.value.name, + id: this.value.id, name: this.value.name, priority: this.value.priority, strategy_rules: this.value.strategy_rules, strategy_actions: this.value.strategy_actions } }