首页添加生命周期构子onShow

This commit is contained in:
WindowBird 2025-08-22 17:52:50 +08:00
parent cf76b88165
commit ccb23a9dfe

View File

@ -104,6 +104,12 @@ export default {
this.fetchDeviceList()
},
onShow() {
this.fetchAnnouncement()
this.fetchBannerList()
this.fetchDeviceList()
},
methods: {
//
async fetchAnnouncement() {