antd-mini-rpx
Advanced tools
Comparing version 0.0.3-beta.11 to 0.0.3-beta.12
@@ -57,3 +57,8 @@ | ||
fallback?: boolean; | ||
/** | ||
* @description 内部 swiper 组件属性 touch-angle。计算用户手势时所依赖的滑动角度。角度根据 touchstart 事件和首次 touchmove 事件的坐标计算得出。数值越小越对用户的滑动方向准确度要求越高。 | ||
* @default 45 | ||
*/ | ||
touchAngle?: number; | ||
} | ||
export declare const TabsDefaultProps: Partial<ITabsProps>; |
@@ -9,3 +9,4 @@ export const TabsDefaultProps = { | ||
fallback:false, | ||
touchAngle: 45, | ||
onGetRef: () => {}, | ||
}; |
@@ -6,9 +6,9 @@ import { TabItemDefaultProps } from './props'; | ||
import { compareVersion } from '../../_util/compareVersion'; | ||
var isBaseSwiper = compareVersion(my.SDKVersion, '2.0.0') >= 0; | ||
var n = 0; | ||
var isBaseSwiper = compareVersion(my.SDKVersion, '2.0.0'); | ||
Component({ | ||
props: TabItemDefaultProps, | ||
data: { | ||
fallback: false, | ||
isBaseSwiper: isBaseSwiper | ||
isBaseSwiper: isBaseSwiper, | ||
fallback: false | ||
}, | ||
@@ -15,0 +15,0 @@ didMount: function didMount() { |
{ | ||
"name": "antd-mini-rpx", | ||
"version": "0.0.3-beta.11", | ||
"version": "0.0.3-beta.12", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "dev": "minidev dev --less --typescript --no-source-map", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
319934
5969