Commit a6004906 by gongyang

提交代码

parent 3692802e
Showing with 4 additions and 2 deletions
......@@ -68,13 +68,15 @@ layui.use(['jquery','element', 'layer', 'form','table','laypage','laydate','laye
// 点击按钮获取选中值
$('#createSelectNotice').on('click', function(){
alert(1);
// 获取选中数据
var checkStatus = table.checkStatus('systemUpdateList');
console.log('选中的数据:', checkStatus.data);
alert(1);
if(checkStatus.data.length === 0){
layer.msg('请先选择数据');
return;
return false;
}
// 输出选中的数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment