From e4984b85f27f2835798a03a1007e004eddeb79ac Mon Sep 17 00:00:00 2001 From: RuoYi Date: Mon, 2 Sep 2019 12:05:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=9D=9E=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E6=83=85=E5=86=B5=E4=B8=8B=E9=87=8D=E7=BD=AE?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js index df53d3c0f..38189a66f 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -481,7 +481,9 @@ reset: function(formId) { var currentId = $.common.isEmpty(formId) ? $('form').attr('id') : formId; $("#" + currentId)[0].reset(); - $.btTable.bootstrapTable('refresh'); + if ($.table._option.type == table_type.bootstrapTable) { + $.btTable.bootstrapTable('refresh'); + } }, // 获取选中复选框项 selectCheckeds: function(name) {