ソースを参照

D:/Program Files/Git/upfile的bug修改

shiyi 6 年 前
コミット
2349a61743

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/basislist.vue

@@ -969,7 +969,7 @@
               })
               let docurl = res.data.item
               // 内网服务器专用
-              if (process.client && docurl.indexOf('/upfile') === 0) {
+              if (process.client && docurl.indexOf('upfile') === 0) {
                 const myDomain = window.location.host
                 location.href = 'http://' + myDomain + '/' + docurl
               } else {

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/goodslist.vue

@@ -966,7 +966,7 @@
               })
               let docurl = res.data.item
               // 内网服务器专用
-              if (process.client && docurl.indexOf('/upfile') === 0) {
+              if (process.client && docurl.indexOf('upfile') === 0) {
                 const myDomain = window.location.host
                 location.href = 'http://' + myDomain + '/' + docurl
               } else {

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/index.vue

@@ -995,7 +995,7 @@
               })
               let docurl = res.data.item
               // 内网服务器专用
-              if (process.client && docurl.indexOf('/upfile') === 0) {
+              if (process.client && docurl.indexOf('upfile') === 0) {
                 const myDomain = window.location.host
                 location.href = 'http://' + myDomain + '/' + docurl
               } else {

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/oilsupplier/supplier/techlist.vue

@@ -972,7 +972,7 @@
               })
               let docurl = res.data.item
               // 内网服务器专用
-              if (process.client && docurl.indexOf('/upfile') === 0) {
+              if (process.client && docurl.indexOf('upfile') === 0) {
                 const myDomain = window.location.host
                 location.href = 'http://' + myDomain + '/' + docurl
               } else {

+ 1 - 1
src/dashoo.cn/frontend_web/src/pages/select/companyselect/index.vue

@@ -886,7 +886,7 @@ export default {
             })
             let docurl = res.data.item
             // 内网服务器专用
-            if (process.client && docurl.indexOf('/upfile') === 0) {
+            if (process.client && docurl.indexOf('upfile') === 0) {
               const myDomain = window.location.host
               location.href = 'http://' + myDomain + '/' + docurl
             } else {