feat: add input suffix prefix slot

This commit is contained in:
就眠儀式
2022-03-22 15:14:10 +08:00
parent 6d3073a666
commit 794dbb77fd
5 changed files with 76 additions and 58 deletions

View File

@@ -56,6 +56,33 @@ export default {
:::
::: title 前缀后缀
:::
::: demo
<template>
<lay-input>
<template #prefix>0</template>
<template #suffix>0</template>
</lay-input>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
::: title 事件回调
:::