增加接入信息展示

This commit is contained in:
lin
2025-05-15 10:28:02 +08:00
parent 6a2ecd937d
commit 5b89145337
4 changed files with 19 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
import {
add,
addChannel,
addChannel, deleteDevice,
deleteDeviceById, fillLight,
play, ptz,
queryChannels,
@@ -51,9 +51,9 @@ const actions = {
})
})
},
deleteDeviceById({ commit }, deviceId) {
deleteDevice({ commit }, phoneNumber) {
return new Promise((resolve, reject) => {
deleteDeviceById(deviceId).then(response => {
deleteDevice(phoneNumber).then(response => {
const { data } = response
resolve(data)
}).catch(error => {