diff --git a/src/views/iot/device/detailForm.vue b/src/views/iot/device/detailForm.vue index dc3e160a..66654719 100644 --- a/src/views/iot/device/detailForm.vue +++ b/src/views/iot/device/detailForm.vue @@ -11,7 +11,7 @@ - + @@ -599,6 +599,9 @@ const resetDeviceAlarmQuery = () => { deviceAlarmQueryParams.pageNo = 1 getDeviceAlarmList() } +const changeClick = () => { + deviceTabActive.value==='deviceRule' ? getRuleList() : getDeviceAlarmList() +} const openCreateRuleForm = () => { if (!attributeDeviceId.value) {