Przeglądaj źródła

Merge branch 'local' of https://github.com/le5le-com/visualization-design into local

Wind-Breaker1 1 rok temu
rodzic
commit
f67c52386e
2 zmienionych plików z 3 dodań i 2 usunięć
  1. 2 1
      src/services/utils.ts
  2. 1 1
      src/views/components/View.vue

+ 2 - 1
src/services/utils.ts

@@ -105,7 +105,8 @@ export async function dealwithFormatbeforeOpen(data: Meta2dBackData) {
       if (
         pen.image &&
         pen.image.startsWith('/') &&
-        !pen.image.startsWith('/v/')
+        !pen.image.startsWith('/v/') &&
+        !pen.image.startsWith('/png/')
       ) {
         pen.image = upCdn + pen.image;
       }

+ 1 - 1
src/views/components/View.vue

@@ -858,7 +858,7 @@ onMounted(() => {
 const watcher = watch(
   () => route.query,
   async () => {
-    open();
+    open(true);
   }
 );