Commit 17a9efc6 authored by dragondean@qq.com's avatar dragondean@qq.com

新建订单后清楚表单校验

parent 46645f6d
...@@ -1195,9 +1195,12 @@ export default { ...@@ -1195,9 +1195,12 @@ export default {
// 重置数据 // 重置数据
this.form = {...defaultFormData} this.form = {...defaultFormData}
this.$nextTick(() =>{
this.$refs.form.clearValidate() 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