# sendEMSRequest

EMS接口透传

# 请求参数

Prop Type Required Default Description
name String Y - 请求接口路径url
params Object N {} 请求参数对象
options Object N { isShowLoading: false } 选项配置

# 接口调用示例

this.$bridge.sendEMSRequest(name, params, { isShowLoading: true })
    .then(res => {
        console.log(res)
    })
    .catch(err => {
        console.log(err)
    })
1
2
3
4
5
6
7

# 返回参数

  • 返回 Promise,包含 code、data、duration、masErrorKey 等字段