refactor(table): 重构 table.setRowChecked() 方法 (#2146)

* refactor(table): 重构 table.setRowChecked() 方法

* feat: 进一步优化 `table.setRowChecked()`
fix: 修复单选时未移除其他行数据选中状态的问题

* refactor: 剔除多余判断

* docs: 优化 checked 选项说明
This commit is contained in:
贤心
2024-08-16 21:53:20 +08:00
committed by GitHub
parent 61418aef5e
commit 4545ec151a
3 changed files with 40 additions and 51 deletions

View File

@@ -84,7 +84,7 @@
(function(off){
if(!off) return;
layui.disuse('table').extend({
table: '{/}https://cdn.staticfile.net/layui/2.7.6/layui.js'
table: '{/}https://cdn.jsdelivr.net/gh/layui/layui@2.7.6/src/modules/table'
});
})();