From 017052c6caf4c38b0a2fd25d48d299d79c82814f Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 26 三月 2024 15:34:15 +0800 Subject: [PATCH] 修改旅游模块 --- ruoyi-ui/src/views/travel/travelInfo.vue | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/travel/travelInfo.vue b/ruoyi-ui/src/views/travel/travelInfo.vue index f2b90d6..977ca4e 100644 --- a/ruoyi-ui/src/views/travel/travelInfo.vue +++ b/ruoyi-ui/src/views/travel/travelInfo.vue @@ -279,11 +279,11 @@ this.btn= jd this.dsb = !jd this.isShow=true - document.title = "淇敼鏃呮父缁忓巻璇︾粏淇℃伅"; + // document.title = "淇敼鏃呮父缁忓巻璇︾粏淇℃伅"; this.$route.meta.title = "淇敼鏃呮父缁忓巻璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� } else{ - document.title = "鏃呮父缁忓巻璇︾粏淇℃伅"; + // document.title = "鏃呮父缁忓巻璇︾粏淇℃伅"; this.$route.meta.title = "鏃呮父缁忓巻璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉� this.isShow=true this.btn = false; @@ -302,12 +302,21 @@ let pth = paths[i].substr(paths[i].length - 4, paths[i].length) if (_this.fot.includes(pth) === true) + { + if(paths[i].includes("https")) + _this.fileList.push({name:paths[i],url: paths[i]}) + else _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i]}) + } else { // alert(paths[i]) + if(paths[i].includes("https")) + _this.fileListOther.push({name:paths[i],url: paths[i]}) + else{ let nms = paths[i].split("\/") let nm = nms[nms.length - 1] _this.fileListOther.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i]}) + } } } } -- Gitblit v1.9.1