修复保存和编辑问题

This commit is contained in:
liaozetao
2023-12-25 16:32:24 +08:00
parent 9eb61dd6da
commit eab9fc2889
2 changed files with 9 additions and 1 deletions

View File

@@ -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);
}
}

View File

@@ -223,7 +223,6 @@ export default {
});
},
add() {
this.homeGameTab.id = 0;
this.homeGameTab.tabName = '';
this.homeGameTab.gameId = 0;
this.homeGameTab.onClick = '';