@airpower/web 2.0.2 → 2.0.3

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.
Files changed (2) hide show
  1. package/dist/main.js +2 -2
  2. package/package.json +2 -2
package/dist/main.js CHANGED
@@ -882,7 +882,7 @@ class Transformer {
882
882
  * @param fields 属性列表
883
883
  */
884
884
  expose(...fields) {
885
- const copy = this.copy();
885
+ const copy = this;
886
886
  const fieldList = Object.keys(copy);
887
887
  for (const field of fieldList) {
888
888
  if (!fields.includes(field)) {
@@ -895,7 +895,7 @@ class Transformer {
895
895
  * @param fields 属性列表
896
896
  */
897
897
  exclude(...fields) {
898
- const copy = this.copy();
898
+ const copy = this;
899
899
  const fieldList = Object.keys(copy);
900
900
  for (const field of fieldList) {
901
901
  if (fields.includes(field)) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airpower/web",
3
3
  "type": "module",
4
- "version": "2.0.2",
4
+ "version": "2.0.3",
5
5
  "description": "AirPower-Web",
6
6
  "author": {
7
7
  "name": "Hamm",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@airpower/enum": "^1.6.0",
43
43
  "@airpower/i18n": "^1.6.0",
44
- "@airpower/transformer": "^2.0.0",
44
+ "@airpower/transformer": "^2.0.1",
45
45
  "@airpower/util": "^1.6.0",
46
46
  "@element-plus/icons-vue": "^2.3.2",
47
47
  "axios": "1.13.2",