添加图片视频文件大小

wp1.0
fanluyan 1 year ago
parent c9a84a7eb3
commit c2797030dc

@ -1,7 +1,7 @@
<template> <template>
<div class="thumb-example"> <div class="thumb-example">
<div class="radioBox" v-if="roleUser == 1 || roleUser == 0"> <div class="radioBox" v-if="roleUser == 1 || roleUser == 0">
{{ radioPx }} {{ radioPx }} <span>({{ fileSize.toFixed(2) }}M)</span>
<!-- <span>({{ terminalPhoto.length }})</span> --> <!-- <span>({{ terminalPhoto.length }})</span> -->
</div> </div>
<div class="topPic"> <div class="topPic">
@ -186,6 +186,7 @@ export default {
currentPage: 0, currentPage: 0,
srcList: [], srcList: [],
radioPx: "", radioPx: "",
fileSize: "",
roleUser: "", roleUser: "",
localPoints: [], //线 localPoints: [], //线
flagLine: true, //线 flagLine: true, //线
@ -377,6 +378,7 @@ export default {
} else { } else {
this.radioPx = ""; this.radioPx = "";
} }
this.fileSize = data.fileSize / (1024 * 1024);
this.getPointList(data); this.getPointList(data);
}, },
loadImage() { loadImage() {

Loading…
Cancel
Save