|
@@ -14,7 +14,7 @@
|
|
|
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
import { computed, onMounted, ref } from "vue";
|
|
import { computed, onMounted, ref } from "vue";
|
|
-import { store } from "@/features/mark/store";
|
|
|
|
|
|
+import { isScanImage, store } from "@/features/mark/store";
|
|
import MarkHeader from "./MarkHeader.vue";
|
|
import MarkHeader from "./MarkHeader.vue";
|
|
import { useRoute } from "vue-router";
|
|
import { useRoute } from "vue-router";
|
|
import MarkBody from "./MarkBody.vue";
|
|
import MarkBody from "./MarkBody.vue";
|
|
@@ -59,7 +59,9 @@ async function updateSetting() {
|
|
store.setting.subject.paperUrl =
|
|
store.setting.subject.paperUrl =
|
|
store.setting.fileServer + store.setting.subject?.paperUrl;
|
|
store.setting.fileServer + store.setting.subject?.paperUrl;
|
|
|
|
|
|
- await getPaper(store);
|
|
|
|
|
|
+ if (!isScanImage()) {
|
|
|
|
+ await getPaper(store);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
async function updateStatus() {
|
|
async function updateStatus() {
|