getPath 获得当前 weex 页面的路径

getPath

获得当前 weex 页面的路径,

#请求参数

N/A

#接口调用示例

this.$bridge.getPath().then(res => {
    this.$alert(res)
})

#返回参数

Prop Type value Description
weexPath String xxxx 当前weex页面的路径

#返回示例

//示例
{
  weexPath: 'https://xxx/demo/weex.js'
}
posted on 2024-12-18 09:19  AtlasLapetos  阅读(8)  评论(0)    收藏  举报