✨(component): 优化文档体验
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@layui/layui-vue",
|
||||
"version": "1.5.0-alpha.2",
|
||||
"version": "1.5.0-alpha.4",
|
||||
"author": "就眠儀式",
|
||||
"license": "MIT",
|
||||
"description": "a component library for Vue 3 base on layui-vue",
|
||||
|
||||
@@ -44,7 +44,7 @@ const matchModule: string[] = [
|
||||
"dropdownMenuItem",
|
||||
"tag",
|
||||
"tagInput",
|
||||
"footer"
|
||||
"footer",
|
||||
];
|
||||
|
||||
export default (): UserConfigExport => {
|
||||
|
||||
@@ -17,6 +17,7 @@ import {
|
||||
Component,
|
||||
watch,
|
||||
} from "vue";
|
||||
import { LayIcon } from "@layui/icons-vue";
|
||||
import LayInput from "../input/index.vue";
|
||||
import LayTagInput from "../tagInput/index.vue";
|
||||
import LayDropdown from "../dropdown/index.vue";
|
||||
@@ -57,9 +58,9 @@ const props = withDefaults(defineProps<LaySelectProps>(), {
|
||||
minCollapsedNum: 3,
|
||||
disabled: false,
|
||||
multiple: false,
|
||||
size: "md",
|
||||
allowClear: false,
|
||||
showSearch: false,
|
||||
size: "md"
|
||||
});
|
||||
|
||||
const slots = useSlots();
|
||||
@@ -162,6 +163,7 @@ provide("multiple", multiple);
|
||||
:collapseTagsTooltip="collapseTagsTooltip"
|
||||
:minCollapsedNum="minCollapsedNum"
|
||||
:disabledInput="true"
|
||||
:size="size"
|
||||
@clear="handleClear"
|
||||
>
|
||||
<template #suffix>
|
||||
@@ -177,6 +179,7 @@ provide("multiple", multiple);
|
||||
:placeholder="placeholder"
|
||||
:allow-clear="allowClear"
|
||||
:readonly="!showSearch"
|
||||
:size="size"
|
||||
@Input="handleSearch"
|
||||
@clear="handleClear"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user