@@ -186,7 +186,9 @@
:content="item.name"
placement="top"
>
- <div class="titleCss" style="max-width: 260px">{{ item.name }}</div>
+ <div class="titleCss" style="max-width: 260px">
+ {{ item.name }}
+ </div>
</el-tooltip>
</div>
@@ -631,7 +633,13 @@
(item3.works.length /
chaptersJson.studentCount) *
100
- ).toFixed(2) + "%"
+ ).toFixed(2) > 100.00
+ ? 100 + "%"
+ : (
+ (item3.works.length /
+ chaptersJson.studentCount) *
+ 100
+ ).toFixed(2) + "%"
}}
<div class="blueBtn">