lushixing před 1 měsícem
rodič
revize
66ed4b5cd3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/views/design-agent/feature-mod-index.vue

+ 1 - 1
src/views/design-agent/feature-mod-index.vue

@@ -748,7 +748,7 @@ export default {
     },
     // 视频下载
     async handleDownload() {
-      const match = this.resultImage.match(/\/files\/b\/[^\/]+\/([^\/.]+)\./)
+      const match = this.resultImage.match(/\/([^\/?#]+)$/);
       if (match) {
         this.viewLoading = true
         const fileName = match[1]