lushixing 1 miesiąc temu
rodzic
commit
66ed4b5cd3
1 zmienionych plików z 1 dodań i 1 usunięć
  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]