@@ -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)