修复保存和编辑问题
This commit is contained in:
9
src/utils/bootstrap-table-helper.js
vendored
9
src/utils/bootstrap-table-helper.js
vendored
@@ -39,4 +39,13 @@ export default {
|
||||
doRefreshAndToPage1: function (idstr) {
|
||||
$(idstr).bootstrapTable('selectPage', 1);
|
||||
},
|
||||
getData: function(id) {
|
||||
return $(id).bootstrapTable('getData');
|
||||
},
|
||||
destroy: function(id) {
|
||||
$(id).bootstrapTable('destroy');
|
||||
},
|
||||
load: function(id, data) {
|
||||
$(id).bootstrapTable('load', data);
|
||||
}
|
||||
}
|
@@ -223,7 +223,6 @@ export default {
|
||||
});
|
||||
},
|
||||
add() {
|
||||
this.homeGameTab.id = 0;
|
||||
this.homeGameTab.tabName = '';
|
||||
this.homeGameTab.gameId = 0;
|
||||
this.homeGameTab.onClick = '';
|
||||
|
Reference in New Issue
Block a user