Skip to content

Commit

Permalink
fix(schema-form-item): remove getLabel default value
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Jun 12, 2023
1 parent dc7b7a1 commit a208318
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"stylelint-prettier": "^3.0.0",
"svg-sprite-loader": "~6.0.11",
"ts-node": "^10.9.1",
"typescript": "~5.1.3",
"typescript": "~5.0.4",
"unplugin-vue-define-options": "~1.3.8",
"vue-cli-plugin-windicss": "~1.1.6",
"vue-eslint-parser": "~9.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/components/core/schema-form/src/schema-form-item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
});
const getLabel = computed(() => {
const label = props.schema.label || '';
const label = props.schema.label;
return isFunction(label) ? label(unref(getValues)) : label;
});
Expand Down
7 changes: 1 addition & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9476,16 +9476,11 @@ typed-array-length@^1.0.4:
for-each "^0.3.3"
is-typed-array "^1.1.9"

"typescript@^4.6.4 || ^5.0.0":
"typescript@^4.6.4 || ^5.0.0", typescript@~5.0.4:
version "5.0.4"
resolved "https://registry.npmmirror.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b"
integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==

typescript@~5.1.3:
version "5.1.3"
resolved "https://registry.npmmirror.com/typescript/-/typescript-5.1.3.tgz#8d84219244a6b40b6fb2b33cc1c062f715b9e826"
integrity sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==

uglify-js@^3.1.4:
version "3.17.4"
resolved "https://registry.npmmirror.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c"
Expand Down

1 comment on commit a208318

@vercel
Copy link

@vercel vercel bot commented on a208318 Jun 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vue3-antd-admin – ./

vue3-antd-admin-git-main-buqiyuan.vercel.app
vue3-antd-admin.vercel.app
vue3-antd-admin-buqiyuan.vercel.app

Please sign in to comment.