lushixing 1 月之前
父节点
当前提交
66ed4b5cd3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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]