fast-vue-multi-pages 1.0.21 → 1.0.22

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.
@@ -14,7 +14,7 @@ import { FastVueMultiBase64 } from "./other/FastVueMultiBase64";
14
14
  import { FastVueMultiEventBus } from "./other/FastVueMultiEventBus";
15
15
  import { FastVueMultiObject } from "./other/FastVueMultiObject";
16
16
  /**
17
- * FastVueMultiTool 手机APP功能工具类
17
+ * FastVueMultiTool 工具类
18
18
  */
19
19
  export declare class FastVueMultiTool {
20
20
  /**
@@ -18,7 +18,7 @@ const FastVueMultiBase64_1 = require("./other/FastVueMultiBase64");
18
18
  const FastVueMultiEventBus_1 = require("./other/FastVueMultiEventBus");
19
19
  const FastVueMultiObject_1 = require("./other/FastVueMultiObject");
20
20
  /**
21
- * FastVueMultiTool 手机APP功能工具类
21
+ * FastVueMultiTool 工具类
22
22
  */
23
23
  class FastVueMultiTool {
24
24
  /**
@@ -32,6 +32,10 @@ class FastVueMultiObject {
32
32
  if (value.toString().length === 0) {
33
33
  return false;
34
34
  }
35
+ if (value.toString().toLowerCase() === "null"
36
+ || value.toString().toLowerCase() === "undefined") {
37
+ return true;
38
+ }
35
39
  }
36
40
  return true;
37
41
  }
@@ -14,7 +14,7 @@ import { FastVueMultiBase64 } from "./other/FastVueMultiBase64";
14
14
  import { FastVueMultiEventBus } from "./other/FastVueMultiEventBus";
15
15
  import { FastVueMultiObject } from "./other/FastVueMultiObject";
16
16
  /**
17
- * FastVueMultiTool 手机APP功能工具类
17
+ * FastVueMultiTool 工具类
18
18
  */
19
19
  export declare class FastVueMultiTool {
20
20
  /**
@@ -4,7 +4,7 @@ define(["require", "exports", "tslib", "lodash", "./http/FastVueMultiHttp", "./o
4
4
  exports.FastVueMultiTool = void 0;
5
5
  lodash_1 = tslib_1.__importDefault(lodash_1);
6
6
  /**
7
- * FastVueMultiTool 手机APP功能工具类
7
+ * FastVueMultiTool 工具类
8
8
  */
9
9
  var FastVueMultiTool = /** @class */ (function () {
10
10
  function FastVueMultiTool() {
@@ -34,6 +34,10 @@ define(["require", "exports", "tslib", "lodash"], function (require, exports, ts
34
34
  if (value.toString().length === 0) {
35
35
  return false;
36
36
  }
37
+ if (value.toString().toLowerCase() === "null"
38
+ || value.toString().toLowerCase() === "undefined") {
39
+ return true;
40
+ }
37
41
  }
38
42
  return true;
39
43
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fast-vue-multi-pages",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "author": "janesen",
5
5
  "description": "快速搭建VUE项目工具类的基本库,主要用于每个功能页面独立生成html",
6
6
  "main": "./dist/cjs/index.js",
@@ -35,7 +35,8 @@
35
35
  "ip": "^2.0.1",
36
36
  "file64": "^1.0.3",
37
37
  "crypto-js": "^4.2.0",
38
- "vue": "^3.2.13"
38
+ "vue": "^3.2.13",
39
+ "js-cookie": "^3.0.5"
39
40
  },
40
41
  "devDependencies": {
41
42
  "@typescript-eslint/eslint-plugin": "^7.16.0",