zhangxc 5 년 전
부모
커밋
edb8a51cf1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/js/schemaMap.js

+ 1 - 1
src/js/schemaMap.js

@@ -207,8 +207,8 @@ function getSchema(val, type){
         "pramNme": val
     }).then(res=>{
         if(res.data.code == 0) {
-            $('#searchInp').val(val)
             if(res.data.data.length >0){
+                $('#searchInp').val(val)
                 window.refreshTree = true
                 window.schemaTxt = val
                 drawSchema(res.data.data)