@dcloudio/uni-app-x 0.7.10 → 0.7.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-x",
3
- "version": "0.7.10",
3
+ "version": "0.7.11",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "author": "DCloud",
@@ -5,7 +5,6 @@ import { UniPageScrollEvent } from './UniPageScrollEvent'
5
5
  import { NativeLoadFontFaceOptions } from './NativeLoadFontFaceOptions'
6
6
  import { UniCallbackWrapper } from './UniCallbackWrapper'
7
7
  import { ViewToTempFilePathOptions } from './ViewToTempFilePathOptions'
8
- import { StartPullDownRefreshOptions } from '../uni/core/lib/ui/pull-down-refresh/interface'
9
8
 
10
9
  /**
11
10
  * @package io.dcloud.uniapp.runtime
@@ -110,7 +109,10 @@ export interface UniNativePage {
110
109
  * 仅 iOS 支持 options 参数
111
110
  * @internal
112
111
  */
113
- startPullDownRefresh(options: StartPullDownRefreshOptions): void
112
+ startPullDownRefresh(options: {
113
+ success: (res: any) => void
114
+ fail: (res: any) => void
115
+ }): void
114
116
  /**
115
117
  * 停止当前页面下拉刷新
116
118
  */