📝: update

This commit is contained in:
就眠儀式 2022-07-15 15:06:51 +08:00
parent 67c4f034ef
commit 1509840aba
3 changed files with 10 additions and 9 deletions

View File

@ -9,12 +9,9 @@ import "./index.less";
import LaySelectOption from "../selectOption/index.vue"; import LaySelectOption from "../selectOption/index.vue";
import { import {
provide, provide,
isProxy,
ref, ref,
watch, watch,
computed, computed,
reactive,
toRefs,
Ref, Ref,
nextTick, nextTick,
shallowRef, shallowRef,

View File

@ -10,7 +10,7 @@
::: title 基础使用 ::: title 基础使用
::: :::
::: demo ::: demo 使用 lay-icon-picker 标签, 创建图标选择器
<template> <template>
<lay-icon-picker type="layui-icon-face-smile"></lay-icon-picker> <lay-icon-picker type="layui-icon-face-smile"></lay-icon-picker>
@ -57,7 +57,7 @@ export default {
::: :::
::: title 开启分页 ::: title 开启分页 通过 page 属性开启图标列表的分页展示
::: :::
::: demo ::: demo
@ -82,7 +82,7 @@ export default {
::: :::
::: title 开启搜索 ::: title 开启搜索 通过 showSearch 开启图标列表的搜索功能
::: :::
::: demo ::: demo

View File

@ -89,9 +89,8 @@ export default {
::: demo ::: demo
<template> <template>
<lay-input> <lay-input v-model="inputValue">
<template #prepend>0</template> <template #prepend>http://</template>
<template #append>0</template>
</lay-input> </lay-input>
</template> </template>
@ -101,7 +100,10 @@ import { ref } from 'vue'
export default { export default {
setup() { setup() {
const inputValue = ref("");
return { return {
inputValue
} }
} }
} }
@ -259,6 +261,8 @@ export default {
| ----- | ------------------- | ----------------| | ----- | ------------------- | ----------------|
| prefix | 输入框前置内容 | -- | | prefix | 输入框前置内容 | -- |
| suffix | 输入框后置内容 | -- | | suffix | 输入框后置内容 | -- |
| prepend | 输入框前置内容 (更) | -- |
| append | 输入框后置内容 (更) | -- |
::: :::