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