visuddhinanda@gmail.com 4 lat temu
rodzic
commit
53b2bba84d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      public/app/term/term_edit_dlg.js

+ 1 - 1
public/app/term/term_edit_dlg.js

@@ -175,7 +175,7 @@ function term_edit_dlg_render(word = null,obj=null) {
         if(word.channel === ''){
             output += "通用于<b>所有版本</b>";
             //判断是否只读
-            if(sentChannel.power !== 30){
+            if(sentChannel !==null && sentChannel.power !== 30){
                 output += "(只读)";
             }
         }else{