登录

登录

作者:王书硕


apps/link-h5/src/authorize/index.ts文件中 讲下面的代码替换掉原来的代码

class Authorize{
  auth = {
    "tenantId": "xxx",
    "accountId": "xxx",
    "accessToken": "xxx",
    "refreshToken": "xxx"
  }
  private _token = this.auth.accessToken;
  private _refreshToken = this.auth.refreshToken;
  public tenantId = this.auth.tenantId;
}

auth的值,可以在这里搞

20201224150707_71ea85c9f78eeaa5f9e260b6a58f735e.png