diff --git a/src/components/ValueItem/index.vue b/src/components/ValueItem/index.vue index 769951c6..35e39dcb 100644 --- a/src/components/ValueItem/index.vue +++ b/src/components/ValueItem/index.vue @@ -211,7 +211,9 @@ const dateChange = (e: any) => { emit('change', e) } -myValue.value = props.modelValue +watch(() => props.modelValue, () => { + myValue.value = props.modelValue +}, { immediate: true }) if (props.itemType === 'object') { objectValue.value = props.modelValue as string diff --git a/src/views/DataCollect/Channel/index.vue b/src/views/DataCollect/Channel/index.vue index cc0a65bb..c5d137c3 100644 --- a/src/views/DataCollect/Channel/index.vue +++ b/src/views/DataCollect/Channel/index.vue @@ -6,120 +6,128 @@ target="search" @search="handleSearch" /> - - - - - + + + + + + diff --git a/src/views/DataCollect/Collector/Point/index.vue b/src/views/DataCollect/Collector/Point/index.vue index dc82b06e..70af667b 100644 --- a/src/views/DataCollect/Collector/Point/index.vue +++ b/src/views/DataCollect/Collector/Point/index.vue @@ -1,274 +1,300 @@