Răsfoiți Sursa

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

Wind-Breaker1 1 an în urmă
părinte
comite
f67c52386e
2 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  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);
   }
 );