From 166d99b019b9ffaa65610890aba772cdc4ae5967 Mon Sep 17 00:00:00 2001 From: wangshuaiswim Date: Tue, 28 Mar 2023 15:10:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E7=89=A9=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E8=A7=84=E5=88=99=E5=88=9D=E5=A7=8B=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Metadata/VirtualRuleParam/index.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/Metadata/VirtualRuleParam/index.vue b/src/components/Metadata/VirtualRuleParam/index.vue index 751a1033..a858a468 100644 --- a/src/components/Metadata/VirtualRuleParam/index.vue +++ b/src/components/Metadata/VirtualRuleParam/index.vue @@ -42,9 +42,7 @@ import { getStreamingAggType } from '@/api/device/product' const props = defineProps({ value: { type: Object, - default: () => ({ - type: 'script', - }) + default: () => ({}) }, name: { type: Array as PropType<(string| number)[]>, @@ -89,7 +87,7 @@ const changeWindow = (val: boolean | string | number) => { props.value.window = {} } } else { - delete props.value.type + props.value.type = 'script' } }