This commit is contained in:
liaozetao
2023-12-25 16:45:24 +08:00
parent aac384eb09
commit 4652ceea4b

View File

@@ -257,6 +257,9 @@ export default {
erbanNoStr: this.homeGameTab.erbanNoStr,
seqNo: new Number(this.homeGameTab.seqNo),
};
if (data.id == 0) {
data.id = null;
}
(data.id ? updateHomeGameTab(data) : saveHomeGameTab(data)).then(res => {
console.log(res);
apiResult(res);