@@ -1,6 +1,6 @@
export default {
baseURL: "/api",
host: window.location.host,
- staticURL: process.env.NODE_ENV === 'production' ? 'http://139.224.24.90:8084' : (process.env.NODE_ENV === 'test'?'http://139.224.24.90:8083':'http://192.168.1.24:8084'),
+ staticURL: process.env.NODE_ENV === 'production' ? 'http://139.224.24.90:8084' : (process.env.NODE_ENV === 'test'?'http://192.168.1.24:8084':'http://192.168.1.24:8084'),
staticURL2: process.env.NODE_ENV === 'production' ? 'http://139.224.24.90:8081' : 'http://139.224.24.90:8081',
}
@@ -103,7 +103,11 @@ export default {
this.FileUrl = this.$p + item.url
this.srcList = []
}else{
- downLoad2(item.url)
+ this.FileUrl = 'http://192.168.1.24:8012/onlinePreview?url='+ btoa(encodeURIComponent(this.$p + item.url))
+ console.log(this.FileUrl,this.$p + item.url)
+ this.srcList = []
+ this.FileVisible = true
+ // downLoad2(item.url)
},
delFile(id){