|
@@ -488,7 +488,8 @@ export default {
|
|
}
|
|
}
|
|
|
|
|
|
this.$refs.form.clearValidate();
|
|
this.$refs.form.clearValidate();
|
|
- if (this.data&& this.$route.query.type == "create") {
|
|
|
|
|
|
+ console.log(this.data,'data')
|
|
|
|
+ if (this.data.id&& this.$route.query.type == "create") {
|
|
this.checkPhone();
|
|
this.checkPhone();
|
|
// 验证表单 看看是否有异常
|
|
// 验证表单 看看是否有异常
|
|
this.onSubmit();
|
|
this.onSubmit();
|