ting.yin 5 年之前
父节点
当前提交
6b330c86c6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      stmms-web/src/main/webapp/static/mark-new/js/modules/mark-board.js

+ 1 - 1
stmms-web/src/main/webapp/static/mark-new/js/modules/mark-board.js

@@ -335,7 +335,7 @@ MarkBoard.prototype.onStepSelect = function(event, context, stepNumber) {
         this.togglePopover(false);
 
         this.currentStep = this.stepList[stepNumber - 1];
-        if (this.currentStep.score == undefined) {
+        if (this.currentStep.score == undefined || isNaN(this.currentStep.score)) {
             this.currentStep.score = '';
         }
         dom = this.stepBoard.stepArray[stepNumber - 1];