其他分享
首页 > 其他分享> > iview rate 评分验证

iview rate 评分验证

作者:互联网

<FormItem label="您的评价" prop="level" v-if="typeModal == 3">
            <Rate v-model="shenhemodal.level" clearable />
          </FormItem>
shenhemodal: {
   
        level: 0,
      
      },
level: [
          {
            required: true,
            message: "请输入评分",
            trigger: "change",
            type: "number",
            min: 0.5, //关键
          },
        ],

 

标签:shenhemodal,level,评分,required,rate,min,type,iview
来源: https://www.cnblogs.com/Byme/p/16310169.html