diff --git a/fir_client/public/config.js b/fir_client/public/config.js
index 2629166..907699e 100644
--- a/fir_client/public/config.js
+++ b/fir_client/public/config.js
@@ -1,5 +1,5 @@
window.g = {
- baseUrl: 'https://fly.harmonygames.cn',
+ baseUrl: 'https://app.hehelucky.cn',
footer:{
copyright:'Copyright © 2017-2020 第九系艾文 版权所有.',
ipcBeiAn:{
diff --git a/fir_client/src/components/FirAppInfosBase.vue b/fir_client/src/components/FirAppInfosBase.vue
index a3c1dbd..a436e2a 100644
--- a/fir_client/src/components/FirAppInfosBase.vue
+++ b/fir_client/src/components/FirAppInfosBase.vue
@@ -127,7 +127,7 @@
},
setfunactive(item, index) {
for (let key in this.$refs) {
- if(key === "qr") continue;
+ if (key === "qr") continue;
if (key === item) {
this.$refs[key].classList.add('active');
this.$store.dispatch('doappInfoIndex', [[index, index], [index, index]]);
@@ -137,7 +137,7 @@
}
},
appDownload() {
- window.open(location.origin + '/' + this.appinfos.short,'target','');
+ window.open(location.origin + '/' + this.appinfos.short, 'target', '');
// this.$router.push({name: 'FirDownload', params: {short: this.appinfos.short}})
},
defaulttimeline() {
diff --git a/fir_client/src/components/FirAppInfossecurity.vue b/fir_client/src/components/FirAppInfossecurity.vue
index 7e69ae4..7203622 100644
--- a/fir_client/src/components/FirAppInfossecurity.vue
+++ b/fir_client/src/components/FirAppInfossecurity.vue
@@ -377,8 +377,8 @@
this.set_default_flag();
this.setbuttondefault(this.currentapp);
this.orgcurrentapp = deepCopy(this.currentapp);
- if(!this.currentapp.domain_name || this.currentapp.domain_name.length < 3){
- if(this.$store.state.userinfo.domain_name && this.$store.state.userinfo.domain_name.length > 3){
+ if (!this.currentapp.domain_name || this.currentapp.domain_name.length < 3) {
+ if (this.$store.state.userinfo.domain_name && this.$store.state.userinfo.domain_name.length > 3) {
this.defualt_dtitle = this.$store.state.userinfo.domain_name;
}
}
diff --git a/fir_client/src/components/FirDownload.vue b/fir_client/src/components/FirDownload.vue
index 9a06af3..1a9de05 100644
--- a/fir_client/src/components/FirDownload.vue
+++ b/fir_client/src/components/FirDownload.vue
@@ -430,11 +430,14 @@
}
}
} else {
- this.$message({
- message: data.msg,
- type: 'error',
- duration: 0
- });
+ if (data.msg) {
+ document.title = data.msg;
+ this.$message({
+ message: data.msg,
+ type: 'error',
+ duration: 0
+ });
+ }
}
}, params)
},
diff --git a/fir_client/src/components/FirHeader.vue b/fir_client/src/components/FirHeader.vue
index 70af959..4a1c0f7 100644
--- a/fir_client/src/components/FirHeader.vue
+++ b/fir_client/src/components/FirHeader.vue
@@ -7,11 +7,11 @@
:visible.sync="dialogVisible"
width="30%"
center
- >
+ >
可用于调用公开 API,可用于登录 fly-cli,请勿泄露您的 token
-
+
{{ token }}
-
+
@@ -75,12 +75,12 @@
return {
current_user: {},
appName: '',
- token:'',
- dialogVisible:false
+ token: '',
+ dialogVisible: false
}
}, methods: {
- maketoken(){
- apitoken(data=>{
+ maketoken() {
+ apitoken(data => {
if (data.code === 1000) {
this.token = data.data.token;
this.$message({
@@ -88,7 +88,7 @@
message: '重新生成成功!'
});
}
- },{methods: 'PUT',token:this.token});
+ }, {methods: 'PUT', token: this.token});
},
handleCommand(command) {
if (command === 'userinfo') {
@@ -100,16 +100,15 @@
} else if (command === 'supersign') {
this.$store.dispatch('doucurrentapp', {});
this.$router.push({"name": 'FirSuperSignBase', params: {act: "iosdeveloper"}})
- }
- else if (command === 'apitoken'){
+ } else if (command === 'apitoken') {
- this.dialogVisible=true;
+ this.dialogVisible = true;
- apitoken(data=>{
+ apitoken(data => {
if (data.code === 1000) {
this.token = data.data.token;
}
- },{methods: 'GET',token:this.token});
+ }, {methods: 'GET', token: this.token});
} else if (command === 'exit') {
logout(data => {
diff --git a/fir_client/src/components/FirLogin.vue b/fir_client/src/components/FirLogin.vue
index 61a1efd..5cec09a 100644
--- a/fir_client/src/components/FirLogin.vue
+++ b/fir_client/src/components/FirLogin.vue
@@ -33,7 +33,8 @@
-
@@ -43,7 +44,8 @@
-
+