fix: 子设备解绑bug

This commit is contained in:
leiqiaochu 2023-09-21 11:00:51 +08:00
parent 7943a4108f
commit 1fab8aa9f5
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ const getActions = (data: Partial<Record<string, any>>): ActionsType[] => {
);
const res = await deleteDeviceMapping(
detail.value.id,
{ids:[data.id]}
{deviceIds:[data.id]}
)
if (resp.status === 200) {
childDeviceRef.value?.reload();

View File

@ -98,7 +98,7 @@ export default defineConfig(({ mode}) => {
// target: 'http://120.77.179.54:8844', // 120测试
target: 'http://192.168.33.46:8844', // 本地开发环境
// target: 'http://192.168.32.5:8848', // 刘本地
// target: 'http://192.168.32.187:8844', // 本地
// target: 'http://192.168.32.187:8844', // 本地
ws: 'ws://192.168.33.46:8844',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')