yxk_h5_master/components/lb-picker/utils.js

8 lines
223 B
JavaScript

export function isObject (val) {
return Object.prototype.toString.call(val) === '[object Object]'
}
export function getIndicatorHeight () {
return Math.round(uni.getSystemInfoSync().screenWidth / (750 / 100))
}