Commit 04adf2a0 by liuchenxi

update: 标签规则

parent dae6e9af
......@@ -2341,7 +2341,7 @@ export default {
break;
}
if (Number.isNaN(v)) return ''; // 是否为数字
if (v > maxNum || v < minNum) { // 校验规则
if (v > +maxNum || v < +minNum) { // 校验规则
this.$message.error(`仅支持输入${minNum}-${maxNum}的值`);
return '';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment