From 3fb594dc317848107fd7bbb51631cfb763c19f5f Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期三, 05 六月 2024 18:47:03 +0800
Subject: [PATCH] 舞蹈分页

---
 src/assets/methods/resources.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/assets/methods/resources.js b/src/assets/methods/resources.js
index 37168bb..95409fb 100644
--- a/src/assets/methods/resources.js
+++ b/src/assets/methods/resources.js
@@ -4,8 +4,8 @@
   await fileApi.getAliVod({
     md5,appRefCode
   }).then(res => {
-    if(res.data.length) {
-      path =  res.data
+    if(typeof res == 'string') {
+      path =  res
     } else {
       path =   process.env.VUE_APP_API_URL + '/file/api/ApiDownload?md5=' + md5
     }

--
Gitblit v1.9.1