feat: 更新 README 和配置文件,添加 PInputText 组件并优化输入文本组件

This commit is contained in:
严浩 committed 2024-11-25 11:38:25 +08:00
1 parent 282559ea17
commit ec9bef3fa9
6 files changed
+59 -59

No files matched your search

+2 -3
View File
@@ -1,6 +1,5 @@
<script setup lang="ts">
import { text } from '@/__fk-inputs__/inputs/_demo_text';
import { InputText } from '@/__fk-inputs__/inputs/input-text';
import Swal from 'sweetalert2';
async function submit() {
@@ -39,8 +38,8 @@ async function submit() {
incomplete-message="Please fill out all fields."
>
<FormKit
:type="InputText"
name="typeInputText"
type="PInputText"
name="PInputText"
label="输入框"
placeholder="请输入"
some="prop"