lushixing 1 mês atrás
pai
commit
66ed4b5cd3
1 arquivos alterados com 1 adições e 1 exclusões
  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]