n20-common-lib 1.2.42 → 1.2.43

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": "n20-common-lib",
3
- "version": "1.2.42",
3
+ "version": "1.2.43",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -293,7 +293,7 @@ export default {
293
293
  mobile: type === 'phone' ? this.form[type] : '',
294
294
  username: type !== 'phone' ? this.form[type] : ''
295
295
  },
296
- { loading: false, noMsg: true }
296
+ { loading: false }
297
297
  )
298
298
  .then(() => {
299
299
  this.$message.success(
@@ -303,9 +303,6 @@ export default {
303
303
  .catch(() => {
304
304
  clearTimeout(this.setTimeNum)
305
305
  this.codeNum = '验证码'
306
- this.$message.warning(
307
- `${typeName}: ${this.form[type]} 验证码发送失败`
308
- )
309
306
  })
310
307
  }
311
308
  })
@@ -382,12 +379,9 @@ export default {
382
379
  this.loadingV = false
383
380
  this.theType = 'accountPthon'
384
381
 
385
- this.sendMsg('username', '账户')
386
382
  this.outTime(60)
387
383
  return
388
- }
389
- // 签名验签
390
- else if (cL.data === false) {
384
+ } else if (cL.data === false /* 签名验签 */) {
391
385
  // 获取线上签名uDn
392
386
  let uDn = await axios.get(
393
387
  `/bems/prod_1.0/dssc/sign/getUserDn/${username}/password`,
@@ -519,7 +513,9 @@ export default {
519
513
  let username = this.userNo
520
514
  let { data } = await axios.get(
521
515
  // '/bems/prod_1.0/user/api/userController/userCltAdDep/' + username
522
- '/bems/prod_1.0/user/api/userController/userCltAdRole/' + username
516
+ '/bems/prod_1.0/user/api/userController/userCltAdRole/' + username,
517
+ null,
518
+ { loading: false }
523
519
  )
524
520
  let userInfo = data || { uname: username }
525
521