()
| 140 | } |
| 141 | |
| 142 | removeCachedToken() { |
| 143 | const cache = readTokenCache(); |
| 144 | if (cache[this.account]) { |
| 145 | delete cache[this.account]; |
| 146 | writeTokenCache(cache); |
| 147 | } |
| 148 | this.openId = ""; |
| 149 | this.unionId = ""; |
| 150 | this.memberId = ""; |
| 151 | this.phone = ""; |
| 152 | this.groupId = ""; |
| 153 | this.agentId = ""; |
| 154 | } |
| 155 | |
| 156 | applyToken(data = {}) { |
| 157 | this.openId = data.openId || ""; |
no test coverage detected