소스 검색

fix: 客观题无答案时的显示问题

zhangjie 11 달 전
부모
커밋
2214a1c71c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/base/track-export/useDraw.ts

+ 1 - 1
src/views/base/track-export/useDraw.ts

@@ -811,7 +811,7 @@ export default function useDraw(winId: number) {
           option: {
             x: tagLeft,
             y: tagTop,
-            text: answer,
+            text: answer || '',
             color: isRight ? '#05b575' : '#f53f3f',
           },
         });