@fast-china/utils 1.0.30 → 1.0.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.
@@ -13923,6 +13923,21 @@ var FastUtils = function(exports, vue) {
13923
13923
  zh_TW: "zh-TW"
13924
13924
  };
13925
13925
  const stringUtil = {
13926
+ /**
13927
+ * 深度解码
13928
+ */
13929
+ deepDecodeURIComponent(str, maxDepth = 10) {
13930
+ if (!str) return str;
13931
+ let decoded = str;
13932
+ for (let i = 0; i < maxDepth; i++) {
13933
+ const next = decodeURIComponent(decoded);
13934
+ if (next === decoded) {
13935
+ break;
13936
+ }
13937
+ decoded = next;
13938
+ }
13939
+ return decoded;
13940
+ },
13926
13941
  /**
13927
13942
  * 获取Url参数
13928
13943
  */