修复新苹果,新应用无法设置专属签名问题

dependabot/npm_and_yarn/fir_admin/decode-uri-component-0.2.2
isummer 2 years ago
parent eed0f5194c
commit dc7b491534
  1. 26
      fir_client/src/components/base/AppleDeveloperBindApp.vue
  2. 2
      fir_client/vue.config.js

@ -3,8 +3,8 @@
<div> <div>
<div style="text-align: center"> <div style="text-align: center">
<el-transfer <el-transfer
id="transfer"
v-model="choices_data" v-model="choices_data"
v-loading="loadings"
:button-texts="['', '']" :button-texts="['', '']"
:data="app_developer_lists" :data="app_developer_lists"
:format="{ :format="{
@ -93,6 +93,7 @@
<script> <script>
import {developerBindAppFun} from "@/restful"; import {developerBindAppFun} from "@/restful";
import {sort_compare} from "@/utils"; import {sort_compare} from "@/utils";
import {Loading} from "element-ui";
export default { export default {
name: 'AppleDeveloperBindApp', name: 'AppleDeveloperBindApp',
@ -120,8 +121,7 @@ export default {
s_props: {}, s_props: {},
s_titles: [], s_titles: [],
app_private_used_number: 100, app_private_used_number: 100,
loadings: false, app_limit_number: 0,
app_limit_number: 0
}; };
}, },
mounted() { mounted() {
@ -147,14 +147,12 @@ export default {
}, },
handleChange(value, direction, movedKeys) { handleChange(value, direction, movedKeys) {
if (this.issuer_id && direction === 'right') { if (this.issuer_id && direction === 'right') {
// if(value.length > this.app_limit_number){ //
// this.$message.warning(','+this.app_limit_number+'') // for (let i = 0; i < movedKeys.length; i++) {
for (let i = 0; i < movedKeys.length; i++) { // let app_info = this.get_choice_data_from_key([movedKeys[i]])[0][0]
let app_info = this.get_choice_data_from_key([movedKeys[i]])[0][0] // if (!(app_info && app_info.app_used_number > 0)) {
if (!(app_info && app_info.app_used_number > 0)) { // this.choices_data.splice(this.choices_data.indexOf(movedKeys[i]), 1)
this.choices_data.splice(this.choices_data.indexOf(movedKeys[i]), 1) // }
}
}
// } // }
} }
if (this.app_id && direction === 'right') { if (this.app_id && direction === 'right') {
@ -221,7 +219,7 @@ export default {
}) })
}, },
getBindInfo(params) { getBindInfo(params) {
this.loadings = true let loadingInstance = Loading.service({target: '#transfer'})
if (this.issuer_id) { if (this.issuer_id) {
params.issuer_id = this.issuer_id params.issuer_id = this.issuer_id
} }
@ -250,7 +248,9 @@ export default {
} else { } else {
this.$message.error("数据获取失败" + data.msg) this.$message.error("数据获取失败" + data.msg)
} }
this.loadings = false this.$nextTick(() => { // Loading
loadingInstance.close()
});
}, {methods: 'GET', data: params}) }, {methods: 'GET', data: params})
}, },
format_data(data) { format_data(data) {

@ -87,7 +87,7 @@ for (const key of Object.keys(pages)) {
outputDir = tmp.outputDir outputDir = tmp.outputDir
} }
} }
const version = '2.3.8'; const version = '2.3.9';
const github = 'https://github.com/nineaiyu/FlyApps'; const github = 'https://github.com/nineaiyu/FlyApps';
const pro_base_env = { const pro_base_env = {
baseUrl: '/', //该选项可以填写web-api的域名,类似 https://api.xxx.com/ baseUrl: '/', //该选项可以填写web-api的域名,类似 https://api.xxx.com/

Loading…
Cancel
Save