(component): 同步 next 改动

This commit is contained in:
就眠儀式
2022-10-21 21:23:10 +08:00
parent 0cce0587f6
commit 9d46063321
12 changed files with 191 additions and 79 deletions

View File

@@ -26,6 +26,31 @@ export default {
:::
::: title 禁止选择
:::
::: demo 使用 `lay-color-picker` 标签, 创建颜色选择器。
<template>
<lay-color-picker v-model="color" :disabled="true"></lay-color-picker>
</template>
<script>
import { ref } from "vue";
export default {
setup() {
const color = ref("#009688");
return {
color
}
}
}
</script>
:::
::: title 预设颜色
:::

View File

@@ -33,6 +33,32 @@ export default {
:::
::: title 禁用选择
:::
::: demo 使用 lay-icon-picker 标签, 创建图标选择器
<template>
<lay-icon-picker v-model="icon" :disabled="true"></lay-icon-picker>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
const icon = ref("layui-icon-home")
return {
icon
}
}
}
</script>
:::
::: title 开启分页
:::