mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-10 03:42:49 +08:00
新增表格opeart的field回调功能;
This commit is contained in:
@@ -603,7 +603,12 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine
|
||||
operat.title = data[operat.extra] + ' - ' + operat.title;
|
||||
}
|
||||
|
||||
if (typeof operat.field != 'function') {
|
||||
operat.url = admin.table.toolSpliceUrl(operat.url, operat.field, data);
|
||||
} else {
|
||||
operat.url = operat.field(operat.url, data, operat)
|
||||
}
|
||||
|
||||
if (admin.checkAuth(operat.auth, elem)) {
|
||||
html += admin.table.buildOperatHtml(operat);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user