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

@@ -91,9 +91,13 @@
}
},
onShow() {
uni.$once('selectPlate', plate => {
uni.$on('selectPlate', plate => {
this.form.licensePlate = plate;
});
},
// 页面卸载时移除事件监听器
onUnload() {
uni.$off('selectPlate');
},
methods: {
// 新增:处理图片上传