设备bug修改
This commit is contained in:
parent
50d0e654fb
commit
085b6cf130
@ -127,6 +127,7 @@ const addDevice = () => {
|
||||
}
|
||||
//类型改变
|
||||
const deviceTypeChange = async () => {
|
||||
deviceInfo.value.deviceInfoId = ''
|
||||
getAllDeviceList()
|
||||
}
|
||||
const getAllDeviceList = async () => {
|
||||
@ -167,7 +168,7 @@ const dialogClose = () => {
|
||||
const initAddForm = () => {
|
||||
deviceInfo.value.deviceInfoId = ''
|
||||
deviceInfo.value.deviceType = ''
|
||||
getAllDeviceList()
|
||||
allDeviceList.value = []
|
||||
}
|
||||
|
||||
defineExpose({ open }) // 提供 open 方法,用于打开弹窗
|
||||
|
Loading…
Reference in New Issue
Block a user