优化页面

dependabot/npm_and_yarn/fir_admin/async-2.6.4
nineven 3 years ago
parent df38944eab
commit 584f50ba20
  1. 6
      fir_client/src/components/FirDownload.vue
  2. 6
      fir_client/src/components/ShortDownload.vue

@ -602,13 +602,13 @@ export default {
window.location.href = this.mobileprovision; window.location.href = this.mobileprovision;
}, },
check_msg() { check_msg() {
if(this.agent === 'wxandroid' || this.agent === 'wxapple'){ if (this.agent === 'wxandroid' || this.agent === 'wxapple') {
return return
} }
if (this.$route.query.msg) { if (this.$route.query.msg) {
this.wrong = true; this.wrong = true;
this.show_err_msg(this.$route.query.msg); this.show_err_msg(this.$route.query.msg);
this.currentappinfo.need_password=false; this.currentappinfo.need_password = false;
return; return;
} }
if (this.currentappinfo.need_password) { if (this.currentappinfo.need_password) {
@ -651,7 +651,7 @@ export default {
this.wrong = false; this.wrong = false;
this.err_password = true this.err_password = true
this.currentappinfo.need_password = true this.currentappinfo.need_password = true
this.password='' this.password = ''
} else { } else {
this.show_err_msg(data.msg); this.show_err_msg(data.msg);
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars

@ -567,13 +567,13 @@ export default {
window.location.href = this.mobileprovision; window.location.href = this.mobileprovision;
}, },
check_msg() { check_msg() {
if(this.agent === 'wxandroid' || this.agent === 'wxapple'){ if (this.agent === 'wxandroid' || this.agent === 'wxapple') {
return return
} }
if (this.$route.query.msg) { if (this.$route.query.msg) {
this.wrong = true; this.wrong = true;
this.show_err_msg(this.$route.query.msg); this.show_err_msg(this.$route.query.msg);
this.currentappinfo.need_password=false; this.currentappinfo.need_password = false;
return; return;
} }
if (this.currentappinfo.need_password) { if (this.currentappinfo.need_password) {
@ -616,7 +616,7 @@ export default {
this.wrong = false; this.wrong = false;
this.err_password = true; this.err_password = true;
this.currentappinfo.need_password = true; this.currentappinfo.need_password = true;
this.password='' this.password = ''
} else { } else {
this.show_err_msg(data.msg); this.show_err_msg(data.msg);
// eslint-disable-next-line no-unused-vars // eslint-disable-next-line no-unused-vars

Loading…
Cancel
Save