Commit 2e486f29 authored by 陈明豪's avatar 陈明豪

修改图片上传后样式

parent 68d77535
......@@ -144,7 +144,7 @@ export default {
'form.img'(newVal) {
this.$refs['form'].validateField('img')
if (newVal !== undefined && newVal !== null && newVal !== '') {
this.$refs['form'].clearValidate()
this.$refs['form'].clearValidate('img')
}
}
},
......
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