Browse Source

:bug:无输入数据返回空数组

visuddhinanda 4 years ago
parent
commit
f8b7415911
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/studio/dict_find_one.php

+ 1 - 0
app/studio/dict_find_one.php

@@ -44,6 +44,7 @@ if (isset($_GET["debug"])) {
 }
 
 if (mb_strlen($in_word) == 0) {
+	echo json_encode(array(), JSON_UNESCAPED_UNICODE);
     exit;
 }