未验证 提交 9c8a3330 编写于 作者: F Flame2057 提交者: GitHub

fixed toFn issue

Fixed issue in toFn causing checkPull and checkPut to always be true when `value == null`
上级 35aabddf
......@@ -187,10 +187,10 @@
_prepareGroup = function (options) {
function toFn(value, pull) {
if (value == null || value === true) {
value = group.name;
if (value == null) {
return alwaysFalse;
}
value = group.name;
}
if (typeof value === 'function') {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册