1.
Some checks failed
Uniapp 自动化打包 CI/CD / 打包 Uniapp 项目 (push) Has been cancelled

This commit is contained in:
2025-09-05 16:54:53 +08:00
parent 8e23e63b3a
commit c7ff9a5234
22 changed files with 2849 additions and 591 deletions

View File

@@ -106,10 +106,14 @@
this.onRefresh()
},
onShow() {
uni.$once('refreshData', () => {
uni.$on('refreshData', () => {
this.onRefresh()
});
},
// 页面卸载时移除事件监听器
onUnload() {
uni.$off('refreshData');
},
methods: {
goBack() {
uni.navigateBack();