iview 验证 trigger: 'blur,change', 同时加两个,省的每次还想input 还是 select

iview 验证 trigger: 'blur,change', 同时加两个,省的每次还想input 还是 select

dataRuleValidate: {
        name: [{
          required: true,
          trigger: 'blur,change',
          validator: textFrom
        }],

 

posted @ 2019-05-16 09:10  彭成刚  阅读(6644)  评论(0编辑  收藏  举报