mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
表格operat新增if属性
This commit is contained in:
@@ -744,6 +744,11 @@ define(["jquery", "tableSelect", "ckeditor", 'miniTheme', 'tableData', 'citypick
|
||||
operat.titleField = operat.titleField || 'title';
|
||||
operat.title = operat.title || operat.text;
|
||||
operat.text = operat.text || operat.title;
|
||||
operat.if = operat.if || function () { return true };
|
||||
|
||||
if (operat.if(data, operat) !== true) {
|
||||
return '';
|
||||
}
|
||||
|
||||
var titleEndfix = '';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user