feat: add default placeholder for ApiSelect (#5078)

This commit is contained in:
Netfan
2024-12-09 14:03:46 +08:00
committed by GitHub
parent d085736bac
commit 018ddc75c6
7 changed files with 8 additions and 6 deletions

View File

@@ -72,6 +72,7 @@ async function initComponentAdapter() {
return h(
ApiSelect,
{
placeholder: $t('ui.placeholder.select'),
...props,
...attrs,
component: NSelect,
@@ -84,6 +85,7 @@ async function initComponentAdapter() {
return h(
ApiSelect,
{
placeholder: $t('ui.placeholder.select'),
...props,
...attrs,
component: NTreeSelect,