# reload ^5.0.0
重新加载当前页面
# 接口调用示例
this.$bridge
.reload(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
# 返回参数
- 成功时返回
Prop | Type | Default | Description |
---|---|---|---|
status | Number | N/A | 状态码 |
success | Number | 0 /1 | 0 :更新失败1 表示更新成功 |
- 失败时返回
Prop | Type | Default | Description |
---|---|---|---|
errorCode | Number | N/A | -1 回调失败 |