diff --git a/docs/apis/base/performance/preloadAssets.md b/docs/apis/base/performance/preloadAssets.md index d90380f1d75e..d5055fb15c66 100644 --- a/docs/apis/base/performance/preloadAssets.md +++ b/docs/apis/base/performance/preloadAssets.md @@ -39,7 +39,7 @@ sidebar_label: preloadAssets | 参数 | 类型 | 必填 | 说明 | | --- | --- | :---: | --- | -| data | `AssetsObjectType[]` | 是 | | +| data | `AssetsObject[]` | 是 | | | complete | `(res: TaroGeneral.CallbackResult) => void` | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) | | fail | `(res: TaroGeneral.CallbackResult) => void` | 否 | 接口调用失败的回调函数 | | success | `(res: TaroGeneral.CallbackResult) => void` | 否 | 接口调用成功的回调函数 | diff --git a/docs/components/viewContainer/swiper.md b/docs/components/viewContainer/swiper.md index cb882dab51b1..fbfdd2066356 100755 --- a/docs/components/viewContainer/swiper.md +++ b/docs/components/viewContainer/swiper.md @@ -131,7 +131,7 @@ class App extends Component { | SwiperProps.indicatorActiveColor | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | SwiperProps.autoplay | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | SwiperProps.current | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | -| SwiperProps.currentItemId | (deprecated) | ✔️ | | ✔️ | ✔️ | ✔️ | | | | +| SwiperProps.currentItemId | (deprecated) | ✔️ | | ✔️ | ✔️ | ✔️ | ✔️ | | | | SwiperProps.interval | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | SwiperProps.duration | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | | SwiperProps.circular | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | diff --git a/packages/taro-components/types/Swiper.d.ts b/packages/taro-components/types/Swiper.d.ts index 331931b99833..e3e546204cb6 100644 --- a/packages/taro-components/types/Swiper.d.ts +++ b/packages/taro-components/types/Swiper.d.ts @@ -27,9 +27,9 @@ interface SwiperProps extends StandardProps { */ current?: number /** 当前所在滑块的 item-id ,不能与 current 被同时指定 - * @default "" - * @supported swan, tt, qq, jd + * @supported swan, tt, qq, jd, h5, harmony_hybrid * @weapp deprecated + * @default "" */ currentItemId?: string /** 自动切换时间间隔 diff --git a/packages/taro/types/api/base/performance.d.ts b/packages/taro/types/api/base/performance.d.ts index 4bc8ca3dcb5f..71b7a9c6c21a 100644 --- a/packages/taro/types/api/base/performance.d.ts +++ b/packages/taro/types/api/base/performance.d.ts @@ -191,7 +191,7 @@ declare module '../../index' { src: string } interface Option { - data: AssetsObjectType[] + data: AssetsObject[] /** 接口调用结束的回调函数(调用成功、失败都会执行) */ complete?: (res: TaroGeneral.CallbackResult) => void /** 接口调用失败的回调函数 */