浏览代码

fix: 修复status_label方法缺少end的语法错误

Your Name 5 天之前
父节点
当前提交
c6d9392cbf
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/models/tcm_exam.rb

+ 1 - 0
app/models/tcm_exam.rb

@@ -70,6 +70,7 @@ class TcmExam < ActiveRecord::Base
     when "failed" then "失败"
     else status || "-"
     end
+  end
 
   # 虚拟方法:调养与建议
   def advice_section