mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-11-09 04:20:50 +08:00
chore(api): 删除未定义引用的死函数 refreshTable/reloadTable
This commit is contained in:
@@ -66,26 +66,6 @@
|
|||||||
parent.location.reload();
|
parent.location.reload();
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
refreshTable: function (tableName, mode) {
|
|
||||||
tableName = tableName || 'currentTableRenderId';
|
|
||||||
if (mode == 'table') {
|
|
||||||
table.reload(tableName);
|
|
||||||
} else {
|
|
||||||
table.reloadData(tableName);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// var options = {
|
|
||||||
// url :'system.menu/index?id=1'
|
|
||||||
// }
|
|
||||||
// ua.api.reloadTable('currentTableRenderId',options)
|
|
||||||
reloadTable: function (tableName, options, mode) {
|
|
||||||
tableName = tableName || 'currentTableRenderId';
|
|
||||||
if (mode == 'table') {
|
|
||||||
table.reload(tableName, options);
|
|
||||||
} else {
|
|
||||||
table.reloadData(tableName, options);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
formRequired: function () {
|
formRequired: function () {
|
||||||
var verifyList = document.querySelectorAll("[lay-verify]");
|
var verifyList = document.querySelectorAll("[lay-verify]");
|
||||||
if (verifyList.length > 0) {
|
if (verifyList.length > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user