@fast-china/utils 1.0.12 → 1.0.13

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.
@@ -13579,21 +13579,22 @@ var FastUtils = function(exports, vue) {
13579
13579
  * 设置缓存前缀 Key
13580
13580
  * @param key
13581
13581
  */
13582
- prefix(key) {
13582
+ setPrefix(key) {
13583
13583
  state$1.prefix = key;
13584
13584
  },
13585
13585
  /**
13586
13586
  * 缓存过期值后缀 Key
13587
13587
  * @param key
13588
13588
  */
13589
- expireSuffix(key) {
13589
+ setExpireSuffix(key) {
13590
13590
  state$1.expireSuffix = key;
13591
13591
  },
13592
13592
  /**
13593
13593
  * 设置缓存是否加密
13594
+ * @description 请在初始化的时候确认,后续不可再修改,否则所有数据都将失效
13594
13595
  * @param crypto
13595
13596
  */
13596
- crypto(crypto) {
13597
+ setCrypto(crypto) {
13597
13598
  state$1.crypto = crypto;
13598
13599
  }
13599
13600
  };