Michael Wang před 3 roky
rodič
revize
7baf26d2d5
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/features/student/inspect/MarkBody.vue

+ 2 - 2
src/features/student/inspect/MarkBody.vue

@@ -46,9 +46,9 @@ interface SliceImage {
   originalImageHeight: number;
 }
 
-const { usingImage } = withDefaults(
+const { usingImage = "sliceUrls" } = withDefaults(
   defineProps<{
-    usingImage: "sheetUrls" | "sliceUrls";
+    usingImage?: "sheetUrls" | "sliceUrls";
   }>(),
   {
     usingImage: "sliceUrls",