张泽亮 3 anni fa
parent
commit
e1520f9bef
2 ha cambiato i file con 7 aggiunte e 3 eliminazioni
  1. +1
    -1
      config/index.js
  2. +6
    -2
      src/views/authenticRight/index.vue

+ 1
- 1
config/index.js Vedi File

@@ -22,7 +22,7 @@ module.exports = {
},

// Various Dev Server settings
host: '0.0.0.0', // can be overwritten by process.env.HOST
host: '192.168.31.228', // can be overwritten by process.env.HOST
port: 85, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,


+ 6
- 2
src/views/authenticRight/index.vue Vedi File

@@ -1140,8 +1140,12 @@
i++
}
this.xcdcform["lackCount"] = i
this.xcdcform.fileUrl1 = location.protocol+"//"+location.host+request.defaults.baseURL+ this.xcdcform.fileUrl1
this.xcdcform.fileUrl2 = location.protocol+"//"+location.host+request.defaults.baseURL+ this.xcdcform.fileUrl2
if(this.xcdcform.fileUrl1.length>0){
this.xcdcform.fileUrl1 = location.protocol+"//"+location.host+request.defaults.baseURL+ this.xcdcform.fileUrl1.replace(location.protocol+"//"+location.host+request.defaults.baseURL,"")

}if(this.xcdcform.fileUrl2.length>0){
this.xcdcform.fileUrl2 = location.protocol+"//"+location.host+request.defaults.baseURL+ this.xcdcform.fileUrl2.replace(location.protocol+"//"+location.host+request.defaults.baseURL,"")
}
if(this.xcdcform.id){
updateInvestigate(this.xcdcform).then(res => {
this.showXCDC = false


Caricamento…
Annulla
Salva