ITeye博客

iView UI组件库的坑

Flighting_Chou · 2018-06-07 16:49 · Frontend · MyVUE · Web前端 · Markdown

1、Select的验证不生效,原因:iview默认校验数据类型为String,而我的Select的value是number类型的

     所以正确写法:

      applicationMode: [

         {  required: true,  message: '该项不能为空',  trigger: 'change', type:'number' }

        ]

 

 

*不断更新

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。