diff --git a/fir_client/src/components/base/AppleDeveloperBindApp.vue b/fir_client/src/components/base/AppleDeveloperBindApp.vue index 7fe518d..c29ed6e 100644 --- a/fir_client/src/components/base/AppleDeveloperBindApp.vue +++ b/fir_client/src/components/base/AppleDeveloperBindApp.vue @@ -3,8 +3,8 @@
this.app_limit_number){ - // this.$message.warning('超出开发者可签名应用数量限制,最大可分配'+this.app_limit_number+'个应用') - for (let i = 0; i < movedKeys.length; i++) { - let app_info = this.get_choice_data_from_key([movedKeys[i]])[0][0] - if (!(app_info && app_info.app_used_number > 0)) { - this.choices_data.splice(this.choices_data.indexOf(movedKeys[i]), 1) - } - } + // 不清楚当时为啥这样写,但是目前当 应用没有进行任何签名的时候,无法选中当前应用 + // for (let i = 0; i < movedKeys.length; i++) { + // let app_info = this.get_choice_data_from_key([movedKeys[i]])[0][0] + // if (!(app_info && app_info.app_used_number > 0)) { + // this.choices_data.splice(this.choices_data.indexOf(movedKeys[i]), 1) + // } // } } if (this.app_id && direction === 'right') { @@ -221,7 +219,7 @@ export default { }) }, getBindInfo(params) { - this.loadings = true + let loadingInstance = Loading.service({target: '#transfer'}) if (this.issuer_id) { params.issuer_id = this.issuer_id } @@ -250,7 +248,9 @@ export default { } else { this.$message.error("数据获取失败" + data.msg) } - this.loadings = false + this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 + loadingInstance.close() + }); }, {methods: 'GET', data: params}) }, format_data(data) { diff --git a/fir_client/vue.config.js b/fir_client/vue.config.js index b3ef16c..464b48b 100644 --- a/fir_client/vue.config.js +++ b/fir_client/vue.config.js @@ -87,7 +87,7 @@ for (const key of Object.keys(pages)) { outputDir = tmp.outputDir } } -const version = '2.3.8'; +const version = '2.3.9'; const github = 'https://github.com/nineaiyu/FlyApps'; const pro_base_env = { baseUrl: '/', //该选项可以填写web-api的域名,类似 https://api.xxx.com/