mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-10 11:52:49 +08:00
调整field的表现;
This commit is contained in:
@@ -76,6 +76,7 @@ define(["jquery", "easy-admin", "treetable", "iconPickerFa", "autocomplete"], fu
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
}, {
|
||||
text: '编辑',
|
||||
url: init.edit_url,
|
||||
|
||||
@@ -975,7 +975,15 @@ define(["jquery", "tableSelect", "ckeditor", 'miniTheme', 'tableData', 'citypick
|
||||
if (typeof operat.field != 'function') {
|
||||
operat.url = admin.table.toolSpliceUrl(operat.url, operat.field, data);
|
||||
} else {
|
||||
operat.url = operat.field(operat.url, data, operat)
|
||||
|
||||
var querys = '';
|
||||
if (operat.url.indexOf("?") !== -1) {
|
||||
querys = '&'
|
||||
} else {
|
||||
querys = '?'
|
||||
}
|
||||
|
||||
operat.url += querys + $.param(operat.field(data, operat))
|
||||
}
|
||||
|
||||
if (admin.checkAuth(operat.auth, elem)) {
|
||||
|
||||
Reference in New Issue
Block a user