字节换算为mb,改为换算为kb
This commit is contained in:
parent
27a36ce938
commit
88307ad548
BIN
web/dist.rar
BIN
web/dist.rar
Binary file not shown.
BIN
web/dist.tar
BIN
web/dist.tar
Binary file not shown.
Binary file not shown.
BIN
web/dist.tar.gz
BIN
web/dist.tar.gz
Binary file not shown.
BIN
web/dist.zip
BIN
web/dist.zip
Binary file not shown.
@ -103,12 +103,12 @@ onBeforeUnmount(()=>{
|
|||||||
<!-- <lang-select /> -->
|
<!-- <lang-select /> -->
|
||||||
</div>
|
</div>
|
||||||
<!-- 头像 -->
|
<!-- 头像 -->
|
||||||
<div style="heigth:100%;display: flex;display: -webkit-flex;align-items: center; -webkit-align-items: center; ">
|
<!-- <div style="heigth:100%;display: flex;display: -webkit-flex;align-items: center; -webkit-align-items: center; ">
|
||||||
<div class="heighta"></div>
|
<div class="heighta"></div>
|
||||||
<img v-if="userStore.avatar!== ''" :src="url + '/avatar/' + userStore.avatar + '?imageView2/1/w/80/h/80'"
|
<img v-if="userStore.avatar!== ''" :src="url + '/avatar/' + userStore.avatar + '?imageView2/1/w/80/h/80'"
|
||||||
class="w-[30px] h-[30px] rounded-lg rounded-full" style="border-radius: 50%;" />
|
class="w-[30px] h-[30px] rounded-lg rounded-full" style="border-radius: 50%;" />
|
||||||
<img v-else src="@/assets/MenuIcon/top_tx.png" alt="" class="w-[30px] h-[30px] rounded-lg rounded-full" style="border-radius: 50%;">
|
<img v-else src="@/assets/MenuIcon/top_tx.png" alt="" class="w-[30px] h-[30px] rounded-lg rounded-full" style="border-radius: 50%;">
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<el-tooltip content="个人中心" effect="dark" placement="bottom">
|
<el-tooltip content="个人中心" effect="dark" placement="bottom">
|
||||||
<div class="cursor-pointer flex justify-center items-center pl-[10px]"
|
<div class="cursor-pointer flex justify-center items-center pl-[10px]"
|
||||||
|
@ -417,7 +417,7 @@ function delfileOne(row: any) {
|
|||||||
}
|
}
|
||||||
//字节转mb
|
//字节转mb
|
||||||
function bytesToMB(bytes: any) {
|
function bytesToMB(bytes: any) {
|
||||||
return bytes / Math.pow(1024, 2);
|
return bytes / 1024;
|
||||||
}
|
}
|
||||||
//上传确定
|
//上传确定
|
||||||
function submitfile() {
|
function submitfile() {
|
||||||
|
Loading…
Reference in New Issue
Block a user