File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ sidebar_label: request
49
49
| referrerStrategy | `keyof ReferrerStrategy` | `"querystring"` | 否 | referer 策略,用于控制当前请求 header 对象中 referer 字段格式。该参数默认值可通过 app.json 中的配置进行修改。<br />API 支持度: alipay 支付宝: 10.3.50+ APPX: 2.8.7 开发者工具: 3.5.1<br />[参考地址](https://opendocs.alipay.com/mini/api/owycmh#referrerStrategy%20%E5%8F%82%E6%95%B0%E8%AF%B4%E6%98%8E) |
50
50
| success | `(result: SuccessCallbackResult<T >) => void` | | 否 | 接口调用成功的回调函数 |
51
51
| fail | `(res: TaroGeneral.CallbackResult) => void` | | 否 | 接口调用失败的回调函数 |
52
- | complete | `(res: TaroGeneral.CallbackResult ) => void` | | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
52
+ | complete | `(res: any ) => void` | | 否 | 接口调用结束的回调函数(调用成功、失败都会执行) |
53
53
| jsonp | string or boolean | `false` | 否 | 设置是否使用 jsonp 方式获取数据<br />API 支持度: h5 |
54
54
| jsonpCache | `RequestCache` | | 否 | 设置 jsonp 请求 url 是否需要被缓存<br />API 支持度: h5 |
55
55
| mode | `keyof CorsMode` | `"same-origin"` | 否 | 设置是否允许跨域请求<br />API 支持度: h5 |
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ export default class PageView extends Component {
242
242
| VideoProps.onPause | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ |
243
243
| VideoProps.onEnded | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ |
244
244
| VideoProps.onTimeUpdate | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ |
245
- | VideoProps.onFullscreenChange | | | ✔️ | | | | ✔️ | ✔️ | | ✔️ |
245
+ | VideoProps.onFullscreenChange | | | | | | | ✔️ | ✔️ | | ✔️ |
246
246
| VideoProps.onWaiting | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | | | |
247
247
| VideoProps.onError | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ |
248
248
| VideoProps.onProgress | ✔️ | | | ✔️ | ✔️ | | ✔️ | | | ✔️ |
Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ interface VideoProps extends StandardProps {
315
315
onTimeUpdate ?: CommonEventFunction < VideoProps . onTimeUpdateEventDetail >
316
316
/** 当视频进入和退出全屏时触发
317
317
*
318
- * @supported alipay, h5, rn, harmony_hybrid
318
+ * @supported h5, rn, harmony_hybrid
319
319
*/
320
320
onFullscreenChange ?: CommonEventFunction < VideoProps . onFullscreenChangeEventDetail >
321
321
/** 视频出现缓冲时触发
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ declare module '../../index' {
78
78
/** 接口调用失败的回调函数 */
79
79
fail ?: ( res : TaroGeneral . CallbackResult ) => void
80
80
/** 接口调用结束的回调函数(调用成功、失败都会执行) */
81
- complete ?: ( res : TaroGeneral . CallbackResult ) => void
81
+ complete ?: ( res : Partial < SuccessCallbackResult > & TaroGeneral . CallbackResult ) => void
82
82
/** 设置是否使用 jsonp 方式获取数据
83
83
* @default false
84
84
* @supported h5
You can’t perform that action at this time.
0 commit comments