修复页面udid展示不全问题

qrnn
MMXX 3 years ago
parent 7c2a29b86d
commit 465aea9744
  1. 27
      fir_client/src/components/apps/FirApps.vue

@ -80,6 +80,16 @@
<el-button type="danger" @click="delApp"> </el-button> <el-button type="danger" @click="delApp"> </el-button>
</span> </span>
</el-dialog> </el-dialog>
<el-dialog
:title="showudidTitle"
:visible.sync="showudidSync"
width="406px">
<p v-for="udid in showudidList" :key="udid">{{ udid }}</p>
<span slot="footer" class="dialog-footer">
<el-button @click="showudidSync = false">取消</el-button>
<el-button v-clipboard:copy="showudidList" v-clipboard:success="copy_success">复制到剪切板</el-button>
</span>
</el-dialog>
<el-dialog <el-dialog
:center="true" :center="true"
@ -606,6 +616,9 @@ export default {
data() { data() {
return { return {
timer: '', timer: '',
showudidTitle: '',
showudidSync: false,
showudidList: [],
multiupload: false, multiupload: false,
multiuploaddisable: false, multiuploaddisable: false,
multiFileList: [], multiFileList: [],
@ -646,6 +659,9 @@ export default {
PaymentQuestionMsg: '', PaymentQuestionMsg: '',
} }
}, methods: { }, methods: {
copy_success() {
this.$message.success('复制剪切板成功');
},
check_short(short, callback) { check_short(short, callback) {
apputils(data => { apputils(data => {
if (data.code === 1000 && data.data === 0) { if (data.code === 1000 && data.data === 0) {
@ -798,14 +814,9 @@ export default {
}) })
}, },
showUDID(appinfo) { showUDID(appinfo) {
let udidstr = ''; this.showudidTitle = appinfo.appname + ' UDID';
for (let i = 0; i < appinfo.udid.length; i++) { this.showudidSync = true
udidstr = udidstr + "<p>" + appinfo.udid[i] + "</p>" this.showudidList = appinfo.udid
}
this.$alert(udidstr, appinfo.appname + ' UDID', {
confirmButtonText: '确定',
dangerouslyUseHTMLString: true,
});
}, },
updateappinfo(file, analyseappinfo, multiFlag, binaryFlag, resolve) { updateappinfo(file, analyseappinfo, multiFlag, binaryFlag, resolve) {
if (binaryFlag) { if (binaryFlag) {

Loading…
Cancel
Save