diff --git a/src/main/resources/static/js/dict.js b/src/main/resources/static/js/dict.js index f4677ff..ccacf89 100644 --- a/src/main/resources/static/js/dict.js +++ b/src/main/resources/static/js/dict.js @@ -3,7 +3,7 @@ function showDictSelect(id, type, all) { var select = $("#" + id); select.empty(); - if (all != undefined || all) { + if (all != undefined && all) { select.append(""); }