# Height Debug
Buggy!
```html
{{ JSON.stringify(formValue, 0, 2) }}``` ```js export default { inject: ['message'], data () { return { size: 'medium', formValue: { user: { name: '', age: '' }, phone: '' }, rules: { user: { name: [ { required: true, message: 'required', trigger: 'input' }, { message: 'not a', trigger: 'input', validator (rule, value) { return value === 'x' } }, { message: 'not b', trigger: 'input', validator (rule, value) { return value === 'x' } } ] }, phone: { required: true, message: '请输入电话号码', trigger: ['input'] } } } }, methods: { handleValidateClick (e) { this.$refs.form.validate(errors => { if (!errors) { this.message.success('Valid') } else { console.log(errors) this.message.error('Invalid') } }) } } } ```