| | |
| | | const system = getSystemInfoSync(); |
| | | return compareVersion(system.SDKVersion, '2.9.3') >= 0; |
| | | } |
| | | export function canIUseFormFieldButton() { |
| | | const system = getSystemInfoSync(); |
| | | return compareVersion(system.SDKVersion, '2.10.3') >= 0; |
| | | } |
| | | export function canIUseAnimate() { |
| | | const system = getSystemInfoSync(); |
| | | return compareVersion(system.SDKVersion, '2.9.0') >= 0; |
| | | } |
| | | export function canIUseGroupSetData() { |
| | | const system = getSystemInfoSync(); |
| | | return compareVersion(system.SDKVersion, '2.4.0') >= 0; |
| | | } |
| | | export function canIUseNextTick() { |
| | | return wx.canIUse('nextTick'); |
| | | } |