Merge branch 'master-v32-xwx' into 'master'
资源视图:左侧搜索之后无资源列表未刷新 See merge request !732
Showing
1 changed file
with
3 additions
and
1 deletions
@@ -226,6 +226,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' | @@ -226,6 +226,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' | ||
226 | laytpl($('#resindexTpl').html()).render({list: res.data}, function (html) { | 226 | laytpl($('#resindexTpl').html()).render({list: res.data}, function (html) { |
227 | resindexTable.html(html); | 227 | resindexTable.html(html); |
228 | }); | 228 | }); |
229 | + renderIndex('') | ||
229 | } | 230 | } |
230 | loadParamSelect(); | 231 | loadParamSelect(); |
231 | //joke add 20200407,如果没有资源树,则默认资源页给提示无数据 开始 | 232 | //joke add 20200407,如果没有资源树,则默认资源页给提示无数据 开始 |
@@ -699,9 +700,10 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' | @@ -699,9 +700,10 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' | ||
699 | }); | 700 | }); |
700 | $(".layui-input-search").keydown(function (e) { | 701 | $(".layui-input-search").keydown(function (e) { |
701 | if (e.keyCode === 13) { | 702 | if (e.keyCode === 13) { |
702 | - loadResTree($(this).val()); | ||
703 | resHealthKeyWord = $(this).val(); | 703 | resHealthKeyWord = $(this).val(); |
704 | resindexKeyword = $(this).val(); | 704 | resindexKeyword = $(this).val(); |
705 | + loadResTree($(this).val()); | ||
706 | + | ||
705 | } | 707 | } |
706 | }); | 708 | }); |
707 | //搜索按钮 | 709 | //搜索按钮 |
-
Please register or login to post a comment