Skip to content

Commit c466ced

Browse files
committed
apply the latest data saved when download
1 parent 0adcdc0 commit c466ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ChatSetting.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async function download() {
119119
// jsonData.value = value;
120120
// eslint-disable-next-line no-debugger
121121
// debugger;
122-
reload(value[0]);
122+
reload(value.at(-1));
123123
}
124124
}
125125
const readJson = async (event) => {

0 commit comments

Comments
 (0)