设备bug修改
This commit is contained in:
parent
50d0e654fb
commit
085b6cf130
@ -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 方法,用于打开弹窗
|
||||||
|
Loading…
Reference in New Issue
Block a user