更新
This commit is contained in:
@@ -280,9 +280,16 @@
|
|||||||
submit() {
|
submit() {
|
||||||
this.checkFn('name');
|
this.checkFn('name');
|
||||||
this.checkFn('plateNumber');
|
this.checkFn('plateNumber');
|
||||||
if (!this.fromStyle.nameType || !this.fromStyle.plateNumberType) {
|
if (!this.fromStyle.nameType) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '还有信息没有填哦',
|
title: '请输入姓名',
|
||||||
|
icon: 'error'
|
||||||
|
});
|
||||||
|
return
|
||||||
|
};
|
||||||
|
if (!this.fromStyle.plateNumberType) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '车牌号格式有误',
|
||||||
icon: 'error'
|
icon: 'error'
|
||||||
});
|
});
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user