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]