未验证 提交 cbb1fdc1 编写于 作者: B binaryify 提交者: GitHub

Merge pull request #930 from greenhat616/patch-1

修复与 types 文件表现不一致问题
module.exports = {
toBoolean(val) {
if (typeof val === 'boolean') return val
if (val === '') return val
return val === 'true' || val == '1'
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册