6-25bug更改
This commit is contained in:
parent
49da0121b2
commit
6a8ba92485
@ -239,11 +239,19 @@ function comparePercentage(percentStr: any) {
|
||||
percentStr.resar = false
|
||||
return percentStr.spaceOccupancyRatio;
|
||||
}
|
||||
const percent = parseFloat(percentStr.spaceOccupancyRatio.replace('%', ''));
|
||||
|
||||
if (percent > 80 || percent == 80) {
|
||||
percentStr.resar = true
|
||||
const arr = percentStr.spaceOccupancyRatio.split(";").map(item => parseFloat(item.replace("%", "")));
|
||||
if(arr.length > 0){
|
||||
arr.forEach(item => {
|
||||
if (item > 80 || item == 80) {
|
||||
percentStr.resar = true
|
||||
}
|
||||
});
|
||||
}
|
||||
// const percent = parseFloat(percentStr.spaceOccupancyRatio.replace('%', ''));
|
||||
|
||||
// if (percent > 80 || percent == 80) {
|
||||
// percentStr.resar = true
|
||||
// }
|
||||
|
||||
return percentStr.spaceOccupancyRatio;
|
||||
}
|
||||
|
@ -1704,7 +1704,7 @@ function repstring(row: any) {
|
||||
</div>
|
||||
<div>
|
||||
<!-- :disabled="pathid.value" -->
|
||||
<el-button type="primary" :disabled="loading "
|
||||
<el-button type="primary" :disabled="loading"
|
||||
@click="creatFile">创建文件/文件夹</el-button>
|
||||
<el-button type="primary" :disabled="loading" @click="openFile">上传</el-button>
|
||||
<el-button type="primary" @click="delprojectArr()" :disabled="tableIdarr.length == 0">删除</el-button>
|
||||
|
Loading…
Reference in New Issue
Block a user