diff --git a/fir_client/src/components/FirAppInfossecurity.vue b/fir_client/src/components/FirAppInfossecurity.vue index c78d1bf..0984e3f 100644 --- a/fir_client/src/components/FirAppInfossecurity.vue +++ b/fir_client/src/components/FirAppInfossecurity.vue @@ -54,7 +54,7 @@ inactive-value="off"> - + 清理开发者账户脏数据 @@ -79,9 +79,13 @@ passwordflag:false, showdownloadflag:false, showsupersignflag:false, + clecount:0 } }, methods: { + clean_app(){ + this.saveappinfo({"clean":true}) + }, saveappinfo(data) { updateapp(data => { if (data.code === 1000) { diff --git a/fir_client/src/components/FirApps.vue b/fir_client/src/components/FirApps.vue index 29159b9..d3a89aa 100644 --- a/fir_client/src/components/FirApps.vue +++ b/fir_client/src/components/FirApps.vue @@ -8,11 +8,15 @@ :title="getDelappTitle" :visible.sync="willDeleteApp" width="50%"> - 删除后不可恢复,请谨慎操作 + + 请先在权限管理页面关闭超级签名 + 删除后不可恢复,请谨慎操作 + 取 消 - 确 定 - + 确 定 + 确 定 + @@ -337,18 +341,21 @@ 打包类型: - - {{ r.master_release.release_type|getiOStype }} - + + + {{ r.master_release.release_type|getiOStype }} + 超级签名 + + 第三方平台下载: - - - {{ r.master_release.binary_url| autoformat}} - - + + + {{ r.master_release.binary_url| autoformat}} + + @@ -364,8 +371,10 @@ 预览 + - @@ -739,7 +748,8 @@ return size / 1000; }, autoformat: function (packname) { - if ((packname.length) > 20) { + + if (packname && (packname.length) > 20) { return packname.split('').slice(0, 20).join('') + '...'; } else { return packname diff --git a/fir_client/src/components/FirDownload.vue b/fir_client/src/components/FirDownload.vue index 1444c04..6e4b77c 100644 --- a/fir_client/src/components/FirDownload.vue +++ b/fir_client/src/components/FirDownload.vue @@ -31,7 +31,8 @@ -

{{ mcurrentappinfo.release_type|getiOStype }}

+

超级签

+

{{ mcurrentappinfo.release_type|getiOStype }}

@@ -175,7 +176,10 @@ this.isdownload = true; getdownloadurl(res=>{ if(res.code === 1000){ - + if(res.data.download_url === ""){ + window.location.href=this.full_url; + return + } if(this.currentappinfo.type === 1){ if(this.currentappinfo.issupersign && this.udid !== this.$route.query.udid){ if(this.agent !== ''){ @@ -209,7 +213,7 @@ 'short': this.currentappinfo.short, 'release_id': this.mcurrentappinfo.release_id, 'password':this.password, - 'udid':this.udid + 'udid':this.udid, }, 'app_id': this.currentappinfo.app_id }) @@ -223,7 +227,7 @@ }) }, getDownloadTokenFun() { - let params={ "short": this.$route.params.short }; + let params={ "short": this.$route.params.short ,"time":new Date().getTime()}; if(this.$route.query.release_id){ params["release_id"]=this.$route.query.release_id } @@ -363,7 +367,7 @@ this.getAgent(); }, mounted() { this.getDownloadTokenFun(); - this.full_url = location.href; + this.full_url = location.href.split("?")[0]; this.qrcode(); },filters:{ getiOStype: function (type) { diff --git a/fir_client/src/components/FirSuperSignBase.vue b/fir_client/src/components/FirSuperSignBase.vue index b95a57b..b15638a 100644 --- a/fir_client/src/components/FirSuperSignBase.vue +++ b/fir_client/src/components/FirSuperSignBase.vue @@ -1,5 +1,48 @@