system-phone 3.1.81 → 3.1.82

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.81",
3
+ "version": "3.1.82",
4
4
  "description": "手机模块 前端组件",
5
5
  "author": "何宁社 <524395609@qq.com>",
6
6
  "license": "ISC",
@@ -350,42 +350,6 @@ export default {
350
350
  console.log(this.showauto)
351
351
  this.$androidUtil.setPreference('auto_login', this.showauto)
352
352
  }
353
- // 设置当前登录人信息
354
- if ((JSON.stringify(ret.data).startsWith("{") || JSON.stringify(ret.data).startsWith("[")) && ret.data.code && ret.data.msg && ret.data.code === 200) {
355
- Vue.$login = Vue.prototype.$login = {jwt: ret.data.data.id,
356
- toStandardDateString () {
357
- let dt = new Date()
358
- let month = dt.getMonth() + 1
359
- let date = dt.getDate()
360
- return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
361
- }, toStandardTimeString () {
362
- let dt = new Date()
363
- let month = dt.getMonth()+1
364
- let date = dt.getDate()
365
- let hour = dt.getHours()
366
- let min = dt.getMinutes()
367
- let sec = dt.getSeconds()
368
- return dt.getFullYear() + '-' + (month<10? '0'+ month : month) + '-' + (date<10? '0'+ date : date)
369
- + ' ' + (hour<10? '0'+ hour : hour) + ':' + (min<10? '0'+ min : min) + ':' + (sec<10? '0'+ sec : sec)
370
- }}
371
- } else {
372
- Vue.$login = Vue.prototype.$login = {jwt: ret.data.id,
373
- toStandardDateString () {
374
- let dt = new Date()
375
- let month = dt.getMonth() + 1
376
- let date = dt.getDate()
377
- return dt.getFullYear() + '-' + (month < 10 ? '0' + month : month) + '-' + (date < 10 ? '0' + date : date)
378
- }, toStandardTimeString () {
379
- let dt = new Date()
380
- let month = dt.getMonth()+1
381
- let date = dt.getDate()
382
- let hour = dt.getHours()
383
- let min = dt.getMinutes()
384
- let sec = dt.getSeconds()
385
- return dt.getFullYear() + '-' + (month<10? '0'+ month : month) + '-' + (date<10? '0'+ date : date)
386
- + ' ' + (hour<10? '0'+ hour : hour) + ':' + (min<10? '0'+ min : min) + ':' + (sec<10? '0'+ sec : sec)
387
- }}
388
- }
389
353
  // 获取参数
390
354
  console.log('获取参数system以及安检参数')
391
355
  const flag = await asyncReady(this, this.$androidUtil.getProxyUrl())