Commit c6192ac2 authored by dragondean@qq.com's avatar dragondean@qq.com

新建订单后清楚表单校验

parent ee004922
...@@ -1195,9 +1195,12 @@ export default { ...@@ -1195,9 +1195,12 @@ export default {
// 重置数据 // 重置数据
this.form = {...defaultFormData} this.form = {...defaultFormData}
this.$refs.form.clearValidate() this.$nextTick(() =>{
this.$refs.form.clearValidate()
this.$redirect('success?orderId=' + response.data)
})
this.$redirect('success?orderId=' + response.data)
}); });
}); });
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment