工作汇报导出有问题修复

This commit is contained in:
hdm 2022-12-01 10:13:04 +08:00
parent fb3d90a675
commit d8fa40554b
2 changed files with 9 additions and 3 deletions

View File

@ -148,7 +148,10 @@
//表头工具栏事件 //表头工具栏事件
table.on('toolbar(test)', function(obj){ table.on('toolbar(test)', function(obj){
addNew(); if(obj.event === 'add'){
addNew();
return;
}
}); });
//监听搜索提交 //监听搜索提交
@ -227,7 +230,10 @@
//表头工具栏事件 //表头工具栏事件
table.on('toolbar(test1)', function(obj){ table.on('toolbar(test1)', function(obj){
addNew(); if(obj.event === 'add'){
addNew();
return;
}
}); });
function addNew(){ function addNew(){

View File

@ -17,7 +17,7 @@
], ],
"require": { "require": {
"php": ">=7.2.5", "php": ">=7.2.5",
"topthink/framework": "6.1.1", "topthink/framework": "^6.1",
"topthink/think-filesystem": "^2.0", "topthink/think-filesystem": "^2.0",
"topthink/think-orm": "^2.0", "topthink/think-orm": "^2.0",
"topthink/think-multi-app": "^1.0", "topthink/think-multi-app": "^1.0",