u
This commit is contained in:
1 parent
0be0b0767a
commit
5f28a10d89
852 files changed
+8962
-111755
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
// allowClear:有值时 hover / 聚焦出现清除按钮;clear 事件通知清空动作
|
||||
// clearable:有值时 hover / 聚焦出现清除按钮;clear 事件通知清空动作
|
||||
import { ref } from 'vue'
|
||||
import { G3Input, G3Message } from '@g3soft/ui'
|
||||
|
||||
@@ -10,7 +10,7 @@ const keyword = ref('g3soft')
|
||||
<div style="width: 260px">
|
||||
<G3Input
|
||||
v-model="keyword"
|
||||
allow-clear
|
||||
clearable
|
||||
placeholder="输入后 hover 可见清除按钮"
|
||||
@clear="G3Message.info('已清空')"
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user