fix: 店铺装修刷新后tab被重置问题

This commit is contained in:
2025-03-06 11:35:59 +08:00
parent 2972e4b610
commit d6eb27186f

View File

@@ -270,7 +270,7 @@ export default {
try {
let res = await shopExtendApi.get({});
this.tableData = res;
this.tableActive = res[0].autoKey;
this.tableActive = !this.tableActive ? res[0].autoKey : this.tableActive;
this.selectItemChange(this.tableActive);
} catch (error) {
console.log(error);