@airpower/web 1.11.0 → 1.11.2

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/dist/main.js CHANGED
@@ -1379,7 +1379,7 @@ var hasRequiredClipboard;
1379
1379
  function requireClipboard() {
1380
1380
  if (hasRequiredClipboard) return clipboard$1.exports;
1381
1381
  hasRequiredClipboard = 1;
1382
- (function(module, exports) {
1382
+ (function(module, exports$1) {
1383
1383
  (function webpackUniversalModuleDefinition(root, factory) {
1384
1384
  module.exports = factory();
1385
1385
  })(clipboard, function() {
@@ -1801,18 +1801,18 @@ function requireClipboard() {
1801
1801
  /***/
1802
1802
  879: (
1803
1803
  /***/
1804
- (function(__unused_webpack_module, exports2) {
1805
- exports2.node = function(value) {
1804
+ (function(__unused_webpack_module, exports$12) {
1805
+ exports$12.node = function(value) {
1806
1806
  return value !== void 0 && value instanceof HTMLElement && value.nodeType === 1;
1807
1807
  };
1808
- exports2.nodeList = function(value) {
1808
+ exports$12.nodeList = function(value) {
1809
1809
  var type = Object.prototype.toString.call(value);
1810
- return value !== void 0 && (type === "[object NodeList]" || type === "[object HTMLCollection]") && "length" in value && (value.length === 0 || exports2.node(value[0]));
1810
+ return value !== void 0 && (type === "[object NodeList]" || type === "[object HTMLCollection]") && "length" in value && (value.length === 0 || exports$12.node(value[0]));
1811
1811
  };
1812
- exports2.string = function(value) {
1812
+ exports$12.string = function(value) {
1813
1813
  return typeof value === "string" || value instanceof String;
1814
1814
  };
1815
- exports2.fn = function(value) {
1815
+ exports$12.fn = function(value) {
1816
1816
  var type = Object.prototype.toString.call(value);
1817
1817
  return type === "[object Function]";
1818
1818
  };
@@ -1995,10 +1995,10 @@ function requireClipboard() {
1995
1995
  };
1996
1996
  })();
1997
1997
  !(function() {
1998
- __webpack_require__.d = function(exports2, definition) {
1998
+ __webpack_require__.d = function(exports$12, definition) {
1999
1999
  for (var key in definition) {
2000
- if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports2, key)) {
2001
- Object.defineProperty(exports2, key, { enumerable: true, get: definition[key] });
2000
+ if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports$12, key)) {
2001
+ Object.defineProperty(exports$12, key, { enumerable: true, get: definition[key] });
2002
2002
  }
2003
2003
  }
2004
2004
  };
@@ -2440,7 +2440,7 @@ var hasRequiredCore;
2440
2440
  function requireCore() {
2441
2441
  if (hasRequiredCore) return core$1.exports;
2442
2442
  hasRequiredCore = 1;
2443
- (function(module, exports) {
2443
+ (function(module, exports$1) {
2444
2444
  (function(root, factory) {
2445
2445
  {
2446
2446
  module.exports = factory();
@@ -3048,7 +3048,7 @@ var hasRequiredX64Core;
3048
3048
  function requireX64Core() {
3049
3049
  if (hasRequiredX64Core) return x64Core$1.exports;
3050
3050
  hasRequiredX64Core = 1;
3051
- (function(module, exports) {
3051
+ (function(module, exports$1) {
3052
3052
  (function(root, factory) {
3053
3053
  {
3054
3054
  module.exports = factory(requireCore());
@@ -3305,7 +3305,7 @@ var hasRequiredLibTypedarrays;
3305
3305
  function requireLibTypedarrays() {
3306
3306
  if (hasRequiredLibTypedarrays) return libTypedarrays$1.exports;
3307
3307
  hasRequiredLibTypedarrays = 1;
3308
- (function(module, exports) {
3308
+ (function(module, exports$1) {
3309
3309
  (function(root, factory) {
3310
3310
  {
3311
3311
  module.exports = factory(requireCore());
@@ -3350,7 +3350,7 @@ var hasRequiredEncUtf16;
3350
3350
  function requireEncUtf16() {
3351
3351
  if (hasRequiredEncUtf16) return encUtf16$1.exports;
3352
3352
  hasRequiredEncUtf16 = 1;
3353
- (function(module, exports) {
3353
+ (function(module, exports$1) {
3354
3354
  (function(root, factory) {
3355
3355
  {
3356
3356
  module.exports = factory(requireCore());
@@ -3468,7 +3468,7 @@ var hasRequiredEncBase64;
3468
3468
  function requireEncBase64() {
3469
3469
  if (hasRequiredEncBase64) return encBase64$1.exports;
3470
3470
  hasRequiredEncBase64 = 1;
3471
- (function(module, exports) {
3471
+ (function(module, exports$1) {
3472
3472
  (function(root, factory) {
3473
3473
  {
3474
3474
  module.exports = factory(requireCore());
@@ -3576,7 +3576,7 @@ var hasRequiredEncBase64url;
3576
3576
  function requireEncBase64url() {
3577
3577
  if (hasRequiredEncBase64url) return encBase64url$1.exports;
3578
3578
  hasRequiredEncBase64url = 1;
3579
- (function(module, exports) {
3579
+ (function(module, exports$1) {
3580
3580
  (function(root, factory) {
3581
3581
  {
3582
3582
  module.exports = factory(requireCore());
@@ -3695,7 +3695,7 @@ var hasRequiredMd5;
3695
3695
  function requireMd5() {
3696
3696
  if (hasRequiredMd5) return md5$1.exports;
3697
3697
  hasRequiredMd5 = 1;
3698
- (function(module, exports) {
3698
+ (function(module, exports$1) {
3699
3699
  (function(root, factory) {
3700
3700
  {
3701
3701
  module.exports = factory(requireCore());
@@ -3874,7 +3874,7 @@ var hasRequiredSha1;
3874
3874
  function requireSha1() {
3875
3875
  if (hasRequiredSha1) return sha1$1.exports;
3876
3876
  hasRequiredSha1 = 1;
3877
- (function(module, exports) {
3877
+ (function(module, exports$1) {
3878
3878
  (function(root, factory) {
3879
3879
  {
3880
3880
  module.exports = factory(requireCore());
@@ -3965,7 +3965,7 @@ var hasRequiredSha256;
3965
3965
  function requireSha256() {
3966
3966
  if (hasRequiredSha256) return sha256$1.exports;
3967
3967
  hasRequiredSha256 = 1;
3968
- (function(module, exports) {
3968
+ (function(module, exports$1) {
3969
3969
  (function(root, factory) {
3970
3970
  {
3971
3971
  module.exports = factory(requireCore());
@@ -4086,7 +4086,7 @@ var hasRequiredSha224;
4086
4086
  function requireSha224() {
4087
4087
  if (hasRequiredSha224) return sha224$1.exports;
4088
4088
  hasRequiredSha224 = 1;
4089
- (function(module, exports) {
4089
+ (function(module, exports$1) {
4090
4090
  (function(root, factory, undef) {
4091
4091
  {
4092
4092
  module.exports = factory(requireCore(), requireSha256());
@@ -4131,7 +4131,7 @@ var hasRequiredSha512;
4131
4131
  function requireSha512() {
4132
4132
  if (hasRequiredSha512) return sha512$1.exports;
4133
4133
  hasRequiredSha512 = 1;
4134
- (function(module, exports) {
4134
+ (function(module, exports$1) {
4135
4135
  (function(root, factory, undef) {
4136
4136
  {
4137
4137
  module.exports = factory(requireCore(), requireX64Core());
@@ -4413,7 +4413,7 @@ var hasRequiredSha384;
4413
4413
  function requireSha384() {
4414
4414
  if (hasRequiredSha384) return sha384$1.exports;
4415
4415
  hasRequiredSha384 = 1;
4416
- (function(module, exports) {
4416
+ (function(module, exports$1) {
4417
4417
  (function(root, factory, undef) {
4418
4418
  {
4419
4419
  module.exports = factory(requireCore(), requireX64Core(), requireSha512());
@@ -4459,7 +4459,7 @@ var hasRequiredSha3;
4459
4459
  function requireSha3() {
4460
4460
  if (hasRequiredSha3) return sha3$1.exports;
4461
4461
  hasRequiredSha3 = 1;
4462
- (function(module, exports) {
4462
+ (function(module, exports$1) {
4463
4463
  (function(root, factory, undef) {
4464
4464
  {
4465
4465
  module.exports = factory(requireCore(), requireX64Core());
@@ -4661,7 +4661,7 @@ var hasRequiredRipemd160;
4661
4661
  function requireRipemd160() {
4662
4662
  if (hasRequiredRipemd160) return ripemd160$1.exports;
4663
4663
  hasRequiredRipemd160 = 1;
4664
- (function(module, exports) {
4664
+ (function(module, exports$1) {
4665
4665
  (function(root, factory) {
4666
4666
  {
4667
4667
  module.exports = factory(requireCore());
@@ -5132,7 +5132,7 @@ var hasRequiredHmac;
5132
5132
  function requireHmac() {
5133
5133
  if (hasRequiredHmac) return hmac$1.exports;
5134
5134
  hasRequiredHmac = 1;
5135
- (function(module, exports) {
5135
+ (function(module, exports$1) {
5136
5136
  (function(root, factory) {
5137
5137
  {
5138
5138
  module.exports = factory(requireCore());
@@ -5239,7 +5239,7 @@ var hasRequiredPbkdf2;
5239
5239
  function requirePbkdf2() {
5240
5240
  if (hasRequiredPbkdf2) return pbkdf2$1.exports;
5241
5241
  hasRequiredPbkdf2 = 1;
5242
- (function(module, exports) {
5242
+ (function(module, exports$1) {
5243
5243
  (function(root, factory, undef) {
5244
5244
  {
5245
5245
  module.exports = factory(requireCore(), requireSha256(), requireHmac());
@@ -5337,7 +5337,7 @@ var hasRequiredEvpkdf;
5337
5337
  function requireEvpkdf() {
5338
5338
  if (hasRequiredEvpkdf) return evpkdf$1.exports;
5339
5339
  hasRequiredEvpkdf = 1;
5340
- (function(module, exports) {
5340
+ (function(module, exports$1) {
5341
5341
  (function(root, factory, undef) {
5342
5342
  {
5343
5343
  module.exports = factory(requireCore(), requireSha1(), requireHmac());
@@ -5428,7 +5428,7 @@ var hasRequiredCipherCore;
5428
5428
  function requireCipherCore() {
5429
5429
  if (hasRequiredCipherCore) return cipherCore$1.exports;
5430
5430
  hasRequiredCipherCore = 1;
5431
- (function(module, exports) {
5431
+ (function(module, exports$1) {
5432
5432
  (function(root, factory, undef) {
5433
5433
  {
5434
5434
  module.exports = factory(requireCore(), requireEvpkdf());
@@ -6072,7 +6072,7 @@ var hasRequiredModeCfb;
6072
6072
  function requireModeCfb() {
6073
6073
  if (hasRequiredModeCfb) return modeCfb$1.exports;
6074
6074
  hasRequiredModeCfb = 1;
6075
- (function(module, exports) {
6075
+ (function(module, exports$1) {
6076
6076
  (function(root, factory, undef) {
6077
6077
  {
6078
6078
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6124,7 +6124,7 @@ var hasRequiredModeCtr;
6124
6124
  function requireModeCtr() {
6125
6125
  if (hasRequiredModeCtr) return modeCtr$1.exports;
6126
6126
  hasRequiredModeCtr = 1;
6127
- (function(module, exports) {
6127
+ (function(module, exports$1) {
6128
6128
  (function(root, factory, undef) {
6129
6129
  {
6130
6130
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6164,7 +6164,7 @@ var hasRequiredModeCtrGladman;
6164
6164
  function requireModeCtrGladman() {
6165
6165
  if (hasRequiredModeCtrGladman) return modeCtrGladman$1.exports;
6166
6166
  hasRequiredModeCtrGladman = 1;
6167
- (function(module, exports) {
6167
+ (function(module, exports$1) {
6168
6168
  (function(root, factory, undef) {
6169
6169
  {
6170
6170
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6239,7 +6239,7 @@ var hasRequiredModeOfb;
6239
6239
  function requireModeOfb() {
6240
6240
  if (hasRequiredModeOfb) return modeOfb$1.exports;
6241
6241
  hasRequiredModeOfb = 1;
6242
- (function(module, exports) {
6242
+ (function(module, exports$1) {
6243
6243
  (function(root, factory, undef) {
6244
6244
  {
6245
6245
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6277,7 +6277,7 @@ var hasRequiredModeEcb;
6277
6277
  function requireModeEcb() {
6278
6278
  if (hasRequiredModeEcb) return modeEcb$1.exports;
6279
6279
  hasRequiredModeEcb = 1;
6280
- (function(module, exports) {
6280
+ (function(module, exports$1) {
6281
6281
  (function(root, factory, undef) {
6282
6282
  {
6283
6283
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6308,7 +6308,7 @@ var hasRequiredPadAnsix923;
6308
6308
  function requirePadAnsix923() {
6309
6309
  if (hasRequiredPadAnsix923) return padAnsix923$1.exports;
6310
6310
  hasRequiredPadAnsix923 = 1;
6311
- (function(module, exports) {
6311
+ (function(module, exports$1) {
6312
6312
  (function(root, factory, undef) {
6313
6313
  {
6314
6314
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6340,7 +6340,7 @@ var hasRequiredPadIso10126;
6340
6340
  function requirePadIso10126() {
6341
6341
  if (hasRequiredPadIso10126) return padIso10126$1.exports;
6342
6342
  hasRequiredPadIso10126 = 1;
6343
- (function(module, exports) {
6343
+ (function(module, exports$1) {
6344
6344
  (function(root, factory, undef) {
6345
6345
  {
6346
6346
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6368,7 +6368,7 @@ var hasRequiredPadIso97971;
6368
6368
  function requirePadIso97971() {
6369
6369
  if (hasRequiredPadIso97971) return padIso97971$1.exports;
6370
6370
  hasRequiredPadIso97971 = 1;
6371
- (function(module, exports) {
6371
+ (function(module, exports$1) {
6372
6372
  (function(root, factory, undef) {
6373
6373
  {
6374
6374
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6395,7 +6395,7 @@ var hasRequiredPadZeropadding;
6395
6395
  function requirePadZeropadding() {
6396
6396
  if (hasRequiredPadZeropadding) return padZeropadding$1.exports;
6397
6397
  hasRequiredPadZeropadding = 1;
6398
- (function(module, exports) {
6398
+ (function(module, exports$1) {
6399
6399
  (function(root, factory, undef) {
6400
6400
  {
6401
6401
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6429,7 +6429,7 @@ var hasRequiredPadNopadding;
6429
6429
  function requirePadNopadding() {
6430
6430
  if (hasRequiredPadNopadding) return padNopadding$1.exports;
6431
6431
  hasRequiredPadNopadding = 1;
6432
- (function(module, exports) {
6432
+ (function(module, exports$1) {
6433
6433
  (function(root, factory, undef) {
6434
6434
  {
6435
6435
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6452,7 +6452,7 @@ var hasRequiredFormatHex;
6452
6452
  function requireFormatHex() {
6453
6453
  if (hasRequiredFormatHex) return formatHex$1.exports;
6454
6454
  hasRequiredFormatHex = 1;
6455
- (function(module, exports) {
6455
+ (function(module, exports$1) {
6456
6456
  (function(root, factory, undef) {
6457
6457
  {
6458
6458
  module.exports = factory(requireCore(), requireCipherCore());
@@ -6512,7 +6512,7 @@ var hasRequiredAes;
6512
6512
  function requireAes() {
6513
6513
  if (hasRequiredAes) return aes$1.exports;
6514
6514
  hasRequiredAes = 1;
6515
- (function(module, exports) {
6515
+ (function(module, exports$1) {
6516
6516
  (function(root, factory, undef) {
6517
6517
  {
6518
6518
  module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
@@ -6666,7 +6666,7 @@ var hasRequiredTripledes;
6666
6666
  function requireTripledes() {
6667
6667
  if (hasRequiredTripledes) return tripledes$1.exports;
6668
6668
  hasRequiredTripledes = 1;
6669
- (function(module, exports) {
6669
+ (function(module, exports$1) {
6670
6670
  (function(root, factory, undef) {
6671
6671
  {
6672
6672
  module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
@@ -7447,7 +7447,7 @@ var hasRequiredRc4;
7447
7447
  function requireRc4() {
7448
7448
  if (hasRequiredRc4) return rc4$1.exports;
7449
7449
  hasRequiredRc4 = 1;
7450
- (function(module, exports) {
7450
+ (function(module, exports$1) {
7451
7451
  (function(root, factory, undef) {
7452
7452
  {
7453
7453
  module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
@@ -7530,7 +7530,7 @@ var hasRequiredRabbit;
7530
7530
  function requireRabbit() {
7531
7531
  if (hasRequiredRabbit) return rabbit$1.exports;
7532
7532
  hasRequiredRabbit = 1;
7533
- (function(module, exports) {
7533
+ (function(module, exports$1) {
7534
7534
  (function(root, factory, undef) {
7535
7535
  {
7536
7536
  module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
@@ -7659,7 +7659,7 @@ var hasRequiredRabbitLegacy;
7659
7659
  function requireRabbitLegacy() {
7660
7660
  if (hasRequiredRabbitLegacy) return rabbitLegacy$1.exports;
7661
7661
  hasRequiredRabbitLegacy = 1;
7662
- (function(module, exports) {
7662
+ (function(module, exports$1) {
7663
7663
  (function(root, factory, undef) {
7664
7664
  {
7665
7665
  module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
@@ -7785,7 +7785,7 @@ var hasRequiredBlowfish;
7785
7785
  function requireBlowfish() {
7786
7786
  if (hasRequiredBlowfish) return blowfish$1.exports;
7787
7787
  hasRequiredBlowfish = 1;
7788
- (function(module, exports) {
7788
+ (function(module, exports$1) {
7789
7789
  (function(root, factory, undef) {
7790
7790
  {
7791
7791
  module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
@@ -8973,7 +8973,7 @@ var hasRequiredCryptoJs;
8973
8973
  function requireCryptoJs() {
8974
8974
  if (hasRequiredCryptoJs) return cryptoJs$1.exports;
8975
8975
  hasRequiredCryptoJs = 1;
8976
- (function(module, exports) {
8976
+ (function(module, exports$1) {
8977
8977
  (function(root, factory, undef) {
8978
8978
  {
8979
8979
  module.exports = factory(requireCore(), requireX64Core(), requireLibTypedarrays(), requireEncUtf16(), requireEncBase64(), requireEncBase64url(), requireMd5(), requireSha1(), requireSha256(), requireSha224(), requireSha512(), requireSha384(), requireSha3(), requireRipemd160(), requireHmac(), requirePbkdf2(), requireEvpkdf(), requireCipherCore(), requireModeCfb(), requireModeCtr(), requireModeCtrGladman(), requireModeOfb(), requireModeEcb(), requirePadAnsix923(), requirePadIso10126(), requirePadIso97971(), requirePadZeropadding(), requirePadNopadding(), requireFormatHex(), requireAes(), requireTripledes(), requireRc4(), requireRabbit(), requireRabbitLegacy(), requireBlowfish());
@@ -15171,7 +15171,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
15171
15171
  }, {
15172
15172
  default: withCtx(() => [
15173
15173
  createElementVNode("div", _hoisted_1$6, [
15174
- createVNode(unref(AQrcode), {
15174
+ createVNode(unref(Qrcode), {
15175
15175
  content,
15176
15176
  size: 160
15177
15177
  }),
@@ -16300,7 +16300,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
16300
16300
  };
16301
16301
  }
16302
16302
  });
16303
- const AQrcode = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-024409f5"]]);
16303
+ const Qrcode = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-024409f5"]]);
16304
16304
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
16305
16305
  __name: "Select",
16306
16306
  props: /* @__PURE__ */ mergeModels({
@@ -19275,17 +19275,20 @@ class RouterUtil {
19275
19275
  * @param components 组件列表
19276
19276
  * @param componentsDirectory `可选` 组件目录 默认 `/src/view`
19277
19277
  * @param parentRouter `可选` 父级路由 默认 `admin`
19278
- * @param menuCacheKey `可选` 缓存Key 默认 `AirPowerMenuList`
19279
19278
  */
19280
- static initVueRouter(menuList, components = {}, componentsDirectory = "/src/view", parentRouter = "admin", menuCacheKey = "AirPowerMenuList") {
19279
+ static initVueRouter(menuList, components = {}, componentsDirectory = "/src/view", parentRouter = "admin") {
19281
19280
  this.components = components;
19282
19281
  this.componentsDirectory = componentsDirectory;
19283
- localStorage.setItem(menuCacheKey, JSON.stringify(menuList));
19284
19282
  if (!WebConfig.isTimeout) {
19285
19283
  this.registerRoute(menuList, parentRouter);
19286
- this.reloadCacheMenuList(menuCacheKey);
19287
19284
  }
19288
19285
  }
19286
+ /**
19287
+ * ### 刷新当前路由
19288
+ */
19289
+ static async reloadCurrentRoute() {
19290
+ await this.router.replace(this.router.currentRoute.value.fullPath);
19291
+ }
19289
19292
  /**
19290
19293
  * ### 创建 `Vue` 路由实例
19291
19294
  * @param routes 路由配置文件
@@ -19373,34 +19376,6 @@ class RouterUtil {
19373
19376
  this.router.addRoute(parentRouter, route);
19374
19377
  }
19375
19378
  }
19376
- /**
19377
- * ### 重载缓存中的路由
19378
- * @param menuCacheKey 提供缓存的Key
19379
- * @param menuList `可选 子菜单,好兄弟,你不用传`
19380
- */
19381
- static reloadCacheMenuList(menuCacheKey, menuList) {
19382
- if (!this.router) {
19383
- return;
19384
- }
19385
- if (!menuList && localStorage.getItem(menuCacheKey)) {
19386
- menuList = JSON.parse(localStorage.getItem(menuCacheKey) || "[]");
19387
- }
19388
- if (menuList === void 0) {
19389
- return;
19390
- }
19391
- for (const item of menuList) {
19392
- if (item.children && item.children.length > 0) {
19393
- this.reloadCacheMenuList(menuCacheKey, item.children);
19394
- continue;
19395
- }
19396
- const locationPathName = window.location.pathname;
19397
- if (item.path === locationPathName) {
19398
- localStorage.removeItem(menuCacheKey);
19399
- this.router.replace(locationPathName + window.location.search);
19400
- break;
19401
- }
19402
- }
19403
- }
19404
19379
  }
19405
19380
  class AbstractService extends RootModel {
19406
19381
  /**
@@ -19639,7 +19614,7 @@ export {
19639
19614
  APanel,
19640
19615
  APayload,
19641
19616
  APhone,
19642
- AQrcode,
19617
+ Qrcode as AQrcode,
19643
19618
  _sfc_main$9 as ASelect,
19644
19619
  _sfc_main$8 as ASelector,
19645
19620
  _sfc_main$7 as ATab,
@@ -24,9 +24,12 @@ export declare class RouterUtil {
24
24
  * @param components 组件列表
25
25
  * @param componentsDirectory `可选` 组件目录 默认 `/src/view`
26
26
  * @param parentRouter `可选` 父级路由 默认 `admin`
27
- * @param menuCacheKey `可选` 缓存Key 默认 `AirPowerMenuList`
28
27
  */
29
- static initVueRouter(menuList: Array<IMenu & RootEntity>, components?: Record<string, () => Promise<unknown>>, componentsDirectory?: string, parentRouter?: string, menuCacheKey?: string): void;
28
+ static initVueRouter(menuList: Array<IMenu & RootEntity>, components?: Record<string, () => Promise<unknown>>, componentsDirectory?: string, parentRouter?: string): void;
29
+ /**
30
+ * ### 刷新当前路由
31
+ */
32
+ static reloadCurrentRoute(): Promise<void>;
30
33
  /**
31
34
  * ### 创建 `Vue` 路由实例
32
35
  * @param routes 路由配置文件
@@ -46,10 +49,4 @@ export declare class RouterUtil {
46
49
  * @param componentPath 组件路径
47
50
  */
48
51
  private static addRoute;
49
- /**
50
- * ### 重载缓存中的路由
51
- * @param menuCacheKey 提供缓存的Key
52
- * @param menuList `可选 子菜单,好兄弟,你不用传`
53
- */
54
- private static reloadCacheMenuList;
55
52
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "1.11.0",
4
+ "version": "1.11.2",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",