From 30f5f9411117906219df20eaba49a50c59684b1d Mon Sep 17 00:00:00 2001 From: RuoYi Date: Wed, 5 Feb 2020 18:16:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A1=A8=E6=A0=BC=E5=8F=82?= =?UTF-8?q?=E6=95=B0=EF=BC=88=E6=98=AF=E5=90=A6=E5=8D=95=E9=80=89checkbox?= =?UTF-8?q?=EF=BC=89?= 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 | 2 ++ 1 file changed, 2 insertions(+) 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 10c80f4a..1eac7c85 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 @@ -58,6 +58,7 @@ var table = { showToggle: true, showExport: false, clickToSelect: false, + singleSelect: false, mobileResponsive: true, rememberSelected: false, fixedColumns: false, @@ -103,6 +104,7 @@ var table = { showExport: options.showExport, // 是否支持导出文件 uniqueId: options.uniqueId, // 唯 一的标识符 clickToSelect: options.clickToSelect, // 是否启用点击选中行 + singleSelect: options.singleSelect, // 是否单选checkbox mobileResponsive: options.mobileResponsive, // 是否支持移动端适配 detailView: options.detailView, // 是否启用显示细节视图 onClickRow: options.onClickRow, // 点击某行触发的事件