n20-common-lib 1.2.30 → 1.2.31

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.30",
3
+ "version": "1.2.31",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -365,9 +365,9 @@ export default {
365
365
  }
366
366
  }
367
367
 
368
- this.$nextTick(() => {
368
+ setTimeout(() => {
369
369
  this.removeOcache({ path: path })
370
- })
370
+ }, 100)
371
371
  } else {
372
372
  console.warn('请求关闭的Tab页签不存在')
373
373
  }
@@ -385,12 +385,12 @@ export default {
385
385
  })
386
386
  }
387
387
 
388
- this.$nextTick(() => {
388
+ setTimeout(() => {
389
389
  nextTabs.forEach((t) => {
390
390
  this.removeOcache({ path: t.route })
391
391
  })
392
392
  nextTabs = undefined
393
- })
393
+ }, 100)
394
394
  },
395
395
  tabCloseOthers(uuid) {
396
396
  let tab = this.tabList.find((t) => t.uuid === uuid)
@@ -416,12 +416,12 @@ export default {
416
416
  })
417
417
  }
418
418
 
419
- this.$nextTick(() => {
419
+ setTimeout(() => {
420
420
  otherTabs.forEach((t) => {
421
421
  this.removeOcache({ path: t.route })
422
422
  })
423
423
  otherTabs = undefined
424
- })
424
+ }, 100)
425
425
  },
426
426
  tabRefresh({ uuid, path }) {
427
427
  let tab = undefined