(component): 新增 input 组件 prepend append 插槽

This commit is contained in:
就眠儀式
2022-07-15 12:54:13 +08:00
parent 16bdc0427a
commit c6b6f5c0a7
4 changed files with 110 additions and 52 deletions

View File

@@ -83,6 +83,32 @@ export default {
:::
::: title 拼接内容
:::
::: demo
<template>
<lay-input>
<template #prepend>0</template>
<template #append>0</template>
</lay-input>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
::: title 设置图标
:::