feat: 更新 PrimeVue 组件,添加城市选择下拉框并优化按钮布局
All checks were successful
/ build-and-deploy-to-vercel (push) Successful in 1m39s
/ depcheck (push) Successful in 1m36s
/ playwright (push) Successful in 3m58s

This commit is contained in:
严浩
2024-11-22 12:45:08 +08:00
parent 2bbe9c7a59
commit e39fea979d
2 changed files with 16 additions and 4 deletions

View File

@ -1,8 +1,20 @@
<template>
<div class="pppppppp">
<InputText />
<button>button</button>
<Button>Button</Button>
<PButton>PButton</PButton>
<Button>PButton</Button>
<Select
:options="[
{ name: 'New York', code: 'NY' },
{ name: 'Rome', code: 'RM' },
{ name: 'London', code: 'LDN' },
{ name: 'Istanbul', code: 'IST' },
{ name: 'Paris', code: 'PRS' },
]"
optionLabel="name"
placeholder="Select a City"
class="min-w-[200px]"
/>
</div>
</template>

View File

@ -115,7 +115,7 @@ function Plugins() {
}), // https://github.com/unplugin/unplugin-icons?tab=readme-ov-file#auto-importing
TDesignResolver({ library: 'mobile-vue', esm: true }),
VantResolver({ importStyle: true }),
PrimeVueResolver({ components: { prefix: 'P' } }),
PrimeVueResolver(/* { components: { prefix: 'P' } } */),
],
}),
Icons({