|
@@ -255,7 +255,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
-import { doLogout } from "@/api/markPage";
|
|
|
+import { doLogout, updateUISetting } from "@/api/markPage";
|
|
|
import { computed, ref, watchEffect } from "vue";
|
|
|
import { store, isScanImage } from "./store";
|
|
|
import {
|
|
@@ -290,6 +290,7 @@ async function toggleSettingMode() {
|
|
|
} else {
|
|
|
store.setting.mode = ModeEnum.TRACK;
|
|
|
}
|
|
|
+ await updateUISetting(store.setting.mode);
|
|
|
|
|
|
const body = document.querySelector("body");
|
|
|
if (body) body.innerHTML = "重新加载中...";
|