(component): update

This commit is contained in:
就眠儀式
2022-09-24 13:22:05 +08:00
parent 06149b7e77
commit 4db23c9f8a
7 changed files with 117 additions and 49 deletions

View File

@@ -86,4 +86,31 @@ export default {
}
</script>
:::
::: title 禁用状态
:::
::: demo 使用 `lay-tag-input` 标签, 创建标签输入框。
<template>
<lay-tag-input v-model="data5" v-model:inputValue="inputValue5" :allow-clear="true"></lay-tag-input>
</template>
<script>
import { ref,watch } from 'vue'
export default {
setup() {
const data5 = ref(['Vue', 'React']);
const inputValue5 = ref("");
return {
data5,
inputValue5
}
}
}
</script>
:::