🌀(component): update

This commit is contained in:
就眠儀式 2022-11-20 05:39:11 +08:00
parent d96d718ac4
commit 16b25a9c9d
3 changed files with 5 additions and 3 deletions

View File

@ -74,7 +74,9 @@
}
& &-text {
overflow: hidden; text-overflow: ellipsis; white-space: nowrap
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap
}
& &-close-icon {

View File

@ -6,7 +6,7 @@ export default {
<script lang="ts" setup>
import "./index.less";
import { LayIcon } from "@layui/icons-vue";
import { computed, ref } from "vue";
import { computed, nextTick, ref } from "vue";
import { TinyColor } from "@ctrl/tinycolor";
import { TagShape, TagType, TagVariant } from "./interface";

View File

@ -196,7 +196,7 @@ import { ref, nextTick } from 'vue';
export default {
setup() {
const tagData = ref(['Tag', 'Selected', 'Tags']);
const tagData = ref(['Tag', 'Selected1111111111111111111111111111111', 'Tags']);
const inputRef = ref(null);
const showInput = ref(false);
const inputVal = ref('');