From c466ced0a573260462f85b4ba0bee6546839d381 Mon Sep 17 00:00:00 2001 From: "qcgm197874@gmail.com" Date: Thu, 10 Aug 2023 17:32:07 +0800 Subject: [PATCH] apply the latest data saved when download --- src/components/ChatSetting.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ChatSetting.vue b/src/components/ChatSetting.vue index bc9096bfa4..7d279d5ee6 100644 --- a/src/components/ChatSetting.vue +++ b/src/components/ChatSetting.vue @@ -119,7 +119,7 @@ async function download() { // jsonData.value = value; // eslint-disable-next-line no-debugger // debugger; - reload(value[0]); + reload(value.at(-1)); } } const readJson = async (event) => {