📝: 更新日志

This commit is contained in:
就眠儀式 2022-05-27 10:16:53 +08:00
parent 2ae3335394
commit b905e478a5
4 changed files with 6 additions and 10 deletions

View File

@ -26,7 +26,7 @@ const emit = defineEmits(["update:modelValue", "change"]);
const selectedIcon: Ref<string> = ref(props.modelValue as string);
const dropdownRef = ref<any>(null);
const selectIcon = function (icon: string) : void {
const selectIcon = function (icon: string): void {
emit("update:modelValue", icon);
emit("change", icon);
selectedIcon.value = icon;

View File

@ -1,12 +1,12 @@
<template>
<div
class="layui-notice-bar"
:style="{ 'background': background, 'height': `${height}px` }"
:style="{ background: background, height: `${height}px` }"
v-show="!state.isMode"
>
<div
class="layui-notice-bar-warp"
:style="{ 'color': color , 'font-size': `${size}px` }"
:style="{ color: color, 'font-size': `${size}px` }"
>
<lay-icon
v-if="leftIcon"
@ -62,12 +62,7 @@ export default {
</script>
<script lang="ts" setup>
import {
onMounted,
reactive,
nextTick,
ref
} from "vue";
import { onMounted, reactive, nextTick, ref } from "vue";
import LayCarousel from "../carousel/index.vue";
import LayCarouselItem from "../carouselItem/index.vue";
import { LayIcon } from "@layui/icons-vue";

View File

@ -18,6 +18,7 @@
<ul>
<li>[新增] input 组件 clear 事件, 清空内容时触发的无参事件</li>
<li>[新增] avatar 组件 alt 属性, 用于设置描述图像无法正常显示时的替换文本</li>
<li>[新增] radio-group 组件, 公用 name change v-model 属性, 简化多 radio 使用</li>
<li>[修复] tab 组件初始化时, 因无法监听到 slots 变化, 而导致 layui-tab-title 无法正常显示的问题</li>
<li>[优化] input 组件 allow-clear 触发策略, 由始终显示调整为 v-model 不为空显示</li>
<li>[优化] icon-picker 组件 search 功能, 为 input 输入框增加清空操作</li>