system-phone 3.1.85 → 3.1.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-phone",
3
- "version": "3.1.85",
3
+ "version": "3.1.87",
4
4
  "description": "手机模块 前端组件",
5
5
  "author": "何宁社 <524395609@qq.com>",
6
6
  "license": "ISC",
@@ -84,7 +84,7 @@
84
84
  "style-loader": "^0.20.3",
85
85
  "telephone-clients": "3.0.27",
86
86
  "url-loader": "^0.5.7",
87
- "vue-client": "^1.20.87",
87
+ "vue-client": "1.24.152-v3",
88
88
  "vue-hot-reload-api": "^1.2.0",
89
89
  "vue-html-loader": "^1.0.0",
90
90
  "vue-loader": "^8.2.1",
@@ -291,11 +291,19 @@ export default {
291
291
  Vue.functions = this.sortFunctions(ret.data.functions)
292
292
  }
293
293
  }else {
294
+ if(Vue.$login && Vue.$login.s){
295
+ Vue.$login.s = null
296
+ Vue.$login['v3-session-key'] = null
297
+ }
294
298
  this.loaderShow = false
295
299
  this.$showMessage(getLogin.data.states)
296
300
  return
297
301
  }
298
302
  }catch (e) {
303
+ if(Vue.$login && Vue.$login.s){
304
+ Vue.$login.s = null
305
+ Vue.$login['v3-session-key'] = null
306
+ }
299
307
  if (Vue.android) {
300
308
  this.loaderShow = false
301
309
  this.$showMessage(e.message ? e.message : '登录失败!用户名或密码错误!')