fix thread url download

super_signature
nineven 5 years ago
parent 45708d3fc3
commit 986e179bba
  1. 4
      fir_client/src/components/FirDownload.vue
  2. 4
      fir_client/src/restful/index.js
  3. 3
      fir_download/src/components/FirDownload.vue

@ -275,7 +275,9 @@
this.iscomboappinfo = {}; this.iscomboappinfo = {};
} }
document.title = this.currentappinfo.name+'下载'; document.title = this.currentappinfo.name+'下载';
if(this.mcurrentappinfo.binary_url && this.agent !=='' && this.wrong === false){
window.location.href=this.mcurrentappinfo.binary_url
}
} }
else { else {
this.$message({ this.$message({

@ -12,9 +12,9 @@ Axios.defaults.httpsAgent = new https.Agent({
}); });
// Axios.defaults.baseURL=''; // Axios.defaults.baseURL='';
// const USERSEVER = 'https://fly.dvcloud.xin/api/v1/fir/server'; const USERSEVER = 'https://fly.dvcloud.xin/api/v1/fir/server';
const USERSEVER = 'http://192.168.1.112:8000/api/v1/fir/server'; // const USERSEVER = 'http://192.168.1.112:8000/api/v1/fir/server';
export function set_auth_token() { export function set_auth_token() {

@ -279,6 +279,9 @@
this.iscomboappinfo = {}; this.iscomboappinfo = {};
} }
document.title = this.currentappinfo.name+'下载'; document.title = this.currentappinfo.name+'下载';
if(this.mcurrentappinfo.binary_url && this.agent !=='' && this.wrong === false){
window.location.href=this.mcurrentappinfo.binary_url
}
} }
else { else {

Loading…
Cancel
Save