diff --git a/src/views/notify/recipient/modules/notify-recipient-detail-drawer.vue b/src/views/notify/recipient/modules/notify-recipient-detail-drawer.vue index 45ac9c8..bd798f6 100644 --- a/src/views/notify/recipient/modules/notify-recipient-detail-drawer.vue +++ b/src/views/notify/recipient/modules/notify-recipient-detail-drawer.vue @@ -25,8 +25,7 @@ const visible = defineModel('visible', { watch( () => props.rowData, () => { - console.log(props.rowData); - const rowData = props.rowData?.notifyAttribute; + const rowData = props.rowData?.notifyAttribute || null; notifyAttribute.value = JSON.parse(rowData!) || {}; }, { immediate: true } diff --git a/src/views/notify/scene/index.vue b/src/views/notify/scene/index.vue index 05bc1b0..7a71a4d 100644 --- a/src/views/notify/scene/index.vue +++ b/src/views/notify/scene/index.vue @@ -1,16 +1,22 @@ + + + + diff --git a/src/views/notify/scene/modules/notify-config-operate-drawer.vue b/src/views/notify/scene/modules/notify-config-operate-drawer.vue index 6c26918..a75bb89 100644 --- a/src/views/notify/scene/modules/notify-config-operate-drawer.vue +++ b/src/views/notify/scene/modules/notify-config-operate-drawer.vue @@ -97,7 +97,7 @@ function createDefaultModel(): Model { systemTaskType: 1, notifyStatus: 1, notifyScene: 1, - notifyThreshold: 0, + notifyThreshold: 16, rateLimiterStatus: 0, rateLimiterThreshold: 0, description: '' @@ -316,12 +316,14 @@ watch(visible, () => {