fix: 子设备解绑bug
This commit is contained in:
parent
7943a4108f
commit
1fab8aa9f5
|
@ -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();
|
||||
|
|
|
@ -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/, '')
|
||||
|
|
Loading…
Reference in New Issue