From c7e6ef17c73feb1a3bf4bf0d6762d46f26fd4709 Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期二, 13 八月 2024 08:27:32 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- UI-Project/src/views/Caching/cachingun.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UI-Project/src/views/Caching/cachingun.vue b/UI-Project/src/views/Caching/cachingun.vue index 737c1de..d7676bf 100644 --- a/UI-Project/src/views/Caching/cachingun.vue +++ b/UI-Project/src/views/Caching/cachingun.vue @@ -69,7 +69,7 @@ import { useI18n } from 'vue-i18n' const { t } = useI18n() // import i18n from '@/i18n'; -const tableData = ref([]) +const tableData = reactive([]); const slot = ref('') const adjustedRects = ref([]); @@ -210,10 +210,10 @@ // 瀹氫箟娑堟伅澶勭悊鍑芥暟锛屾洿鏂� receivedData 鍙橀噺 const handleMessage = (data) => { // 鏇存柊 tableData 鐨勬暟鎹� - tableData.splice(0, tableData.length, ...data.params[0]); + tableData.splice(0, tableData.length, ...data.params2[0]); // tableData.value = data.params[0] // adjustedRects.value = data.EdgStorageCageinfos[0] - adjustedRects.value = data.params[0].map(rect => ({ + adjustedRects.value = data.params2[0].map(rect => ({ ...rect, // 澶嶅埗鍘熷瀵硅薄鐨勫叾浠栧睘鎬� width: rect.width * 0.5 , id: rect.id * 10, -- Gitblit v1.8.0