Commit 4031775d by zhangquan

修复bug

1 parent 939d0bb2
...@@ -41,6 +41,9 @@ export default { ...@@ -41,6 +41,9 @@ export default {
methods: { methods: {
getLeft(list) { getLeft(list) {
const maxNum = Math.max(...list) const maxNum = Math.max(...list)
if(maxNum<=1){
return '9%'
}
let left = 6 let left = 6
switch(true){ switch(true){
case maxNum<10: case maxNum<10:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!