Skip to content

Commit 1185003

Browse files
committed
fix: 简单修复清除后端数据功能
1 parent 1d10a3b commit 1185003

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store-front-end",
3-
"version": "2.15.54",
3+
"version": "2.15.55",
44
"private": true,
55
"scripts": {
66
"dev": "vite --host",

src/views/settings/moreSetting.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,11 @@
485485
onCancel: () => {},
486486
onOk: async () => {
487487
try {
488-
const res = await useSettingsApi().restoreSettings({ content: JSON.stringify({}) });
488+
const res = await useSettingsApi().restoreSettings({ content: JSON.stringify({
489+
settings: {
490+
istabBar2: false
491+
}
492+
}) });
489493
if (res?.data?.status === "success") {
490494
await initStores(false, true, true);
491495
showNotify({

0 commit comments

Comments
 (0)