Browse Source

NaN无限转

liushengqiang 1 year ago
parent
commit
8346789f8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/subject-echarts/index.tsx

+ 1 - 1
src/views/subject-echarts/index.tsx

@@ -284,7 +284,7 @@ export default defineComponent({
 
           <div class={styles.content} onClick={() => goto()}>
             <CircleProgress
-              value={Number(activeData.sum.practiceRate)}
+              value={Number(activeData.sum.practiceRate) || 0}
               size={80}
               color="#FF8057"
               strokeWidth={6}