system-phone 3.1.86 → 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.86",
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,15 +291,19 @@ export default {
291
291
  Vue.functions = this.sortFunctions(ret.data.functions)
292
292
  }
293
293
  }else {
294
- Vue.$login.s = null
295
- Vue.$login['v3-session-key'] = null
294
+ if(Vue.$login && Vue.$login.s){
295
+ Vue.$login.s = null
296
+ Vue.$login['v3-session-key'] = null
297
+ }
296
298
  this.loaderShow = false
297
299
  this.$showMessage(getLogin.data.states)
298
300
  return
299
301
  }
300
302
  }catch (e) {
301
- Vue.$login.s = null
302
- Vue.$login['v3-session-key'] = null
303
+ if(Vue.$login && Vue.$login.s){
304
+ Vue.$login.s = null
305
+ Vue.$login['v3-session-key'] = null
306
+ }
303
307
  if (Vue.android) {
304
308
  this.loaderShow = false
305
309
  this.$showMessage(e.message ? e.message : '登录失败!用户名或密码错误!')