From 1fab8aa9f56c0b40fc4b588b72ca278026793620 Mon Sep 17 00:00:00 2001 From: leiqiaochu Date: Thu, 21 Sep 2023 11:00:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AD=90=E8=AE=BE=E5=A4=87=E8=A7=A3?= =?UTF-8?q?=E7=BB=91bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/device/Instance/Detail/ChildDevice/index.vue | 2 +- vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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/, '')