# getWeexPath

获取当前weex页面的根路径

# 接口调用示例

this.$bridge.getWeexPath().then(res => {
    console.log(res.weexPath)
})
1
2
3

# 返回参数

  • 返回 weexPath 字符串

# 返回示例

{ weexPath: 'file:///data/...' }
1