公告板
版本库
filestore
活动
搜索
登录
main
/
miniapp
微信小程序
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
'第一次提交'
Sanakey
2020-08-13
d98d05000c3d14e1f12a7754ebeea11ec1fa0f0b
[miniapp.git]
/
src
/
vant-weapp
/
picker-column
/
index.wxs
1
2
3
4
5
6
7
8
function isObj(x) {
var type = typeof x;
return x !== null && (type === 'object' || type === 'function');
}
module.exports = function (option, valueKey) {
return isObj(option) && option[valueKey] != null ? option[valueKey] : option;
}