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, //关键
},
],