设备bug修改

This commit is contained in:
yyy 2025-03-18 17:15:19 +08:00
parent 50d0e654fb
commit 085b6cf130

View File

@ -127,6 +127,7 @@ const addDevice = () => {
} }
// //
const deviceTypeChange = async () => { const deviceTypeChange = async () => {
deviceInfo.value.deviceInfoId = ''
getAllDeviceList() getAllDeviceList()
} }
const getAllDeviceList = async () => { const getAllDeviceList = async () => {
@ -167,7 +168,7 @@ const dialogClose = () => {
const initAddForm = () => { const initAddForm = () => {
deviceInfo.value.deviceInfoId = '' deviceInfo.value.deviceInfoId = ''
deviceInfo.value.deviceType = '' deviceInfo.value.deviceType = ''
getAllDeviceList() allDeviceList.value = []
} }
defineExpose({ open }) // open defineExpose({ open }) // open