vue.esm.js?efeb:628 [Vue warn]: Invalid prop: custom validator check failed for prop "type".
1.具体错误[Vue warn]: Invalid prop: custom validator check failed for prop "type".found in---> <Button><FormItem><IForm><Modal>...
·
1.具体错误
[Vue warn]: Invalid prop: custom validator check failed for prop "type".
found in
---> <Button>
<FormItem>
<IForm>
<Modal>
<User> at src/components/user/User.vue
<Content>
<Layout>... (2 recursive calls)
<Admin> at src/components/admin.vue
<App> at src/App.vue
<Root>
2.错误的出处,就是用了这ghost这个类型
<i-button type="ghost" @click="handleReset('formValidate')">重置</i-button>
3.处理这个错误,就是把这个button类型换掉
<i-button type="warning" @click="handleReset('formValidate')">重置</i-button>
更多推荐
已为社区贡献8条内容
所有评论(0)