Skip to content

是否能够后退 ​

方法名 ​

canGoBack

用法 ​

示例 ​

js
this.$refs.refLevenUtsWebview.canGoBack(res => {
  console.log("canGoBack:" + JSON.stringify(res))
})

参数说明 ​

无

回调 ​

示例 ​

json
{
  "data": {
    "canGoBack": false
  },
  "message": "",
  "code": 0
}

回调说明 ​

参数名参数类型参数描述
messageString消息提示
dataObject数据对象
data.canGoBackBoolean是否能够后退
true:可以后退
false:不能后退
codeInteger返回类型,0.成功,其他:失败