From 70592739d44bc5f38f89f1a9f8581f8547b75408 Mon Sep 17 00:00:00 2001 From: scrin <2277317060@qq.com> Date: Sun, 16 Nov 2025 10:57:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A0=E9=99=A4=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/index.vue b/src/views/index.vue index bb25c90..af44816 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1377,6 +1377,7 @@ const getDotsData = () => { }).filter(v => v)] } watch(() => JSON.stringify([tableData1.value, areaPoints.value]), (oldVal, newVal) => { + localStorage.setItem('tableData1',JSON.stringify(tableData1.value)); getDotsData() }, {deep: true}) onMounted(() => { @@ -1386,6 +1387,7 @@ onMounted(() => { getShildTableList() // testFun() getDotsData() + tableData1.value = JSON.parse(localStorage.getItem('tableData1') || '[]') })