Commit 8427540b authored by honghy's avatar honghy

【后台-会员等级】新增/修改页面中,“等级有效期”应该是非必填

parent 2c56050a
...@@ -290,7 +290,7 @@ export default { ...@@ -290,7 +290,7 @@ export default {
} }
}, },
validatePositiveIntegerorNull(rule, value, callback) { validatePositiveIntegerorNull(rule, value, callback) {
if (value === '') { if (value === ''||value === null) {
callback(); callback();
} else { } else {
const regex = /^[1-9]\d*$/; const regex = /^[1-9]\d*$/;
......
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