reload 重新加载当前页面

reload ^5.0.0

重新加载当前页面

#接口调用示例

this.$bridge
    .reload(params)
    .then(res => {    
    this.$alert(res)
    })
    .catch(err => {
    this.$toast(err)
    })

#返回参数

  • 成功时返回
Prop Type Default Description
status Number N/A 状态码
success Number 0/1 0:更新失败 1 表示更新成功
  • 失败时返回
Prop Type Default Description
errorCode Number N/A -1 回调失败
posted on 2024-12-18 09:22  AtlasLapetos  阅读(9)  评论(0)    收藏  举报