diff --git a/src/views/device/Instance/Detail/ChildDevice/index.vue b/src/views/device/Instance/Detail/ChildDevice/index.vue index 6ebb1c19..854df7c9 100644 --- a/src/views/device/Instance/Detail/ChildDevice/index.vue +++ b/src/views/device/Instance/Detail/ChildDevice/index.vue @@ -243,7 +243,7 @@ const getActions = (data: Partial>): ActionsType[] => { ); const res = await deleteDeviceMapping( detail.value.id, - {ids:[data.id]} + {deviceIds:[data.id]} ) if (resp.status === 200) { childDeviceRef.value?.reload(); diff --git a/vite.config.ts b/vite.config.ts index 6e1ab134..ce34cdb9 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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/, '')