✨(component): 发布 1.3.2
This commit is contained in:
@@ -32,7 +32,7 @@ export default {
|
||||
::: demo 通过 `preset` 属性, 预设可选的颜色列表。
|
||||
|
||||
<template>
|
||||
<lay-color-picker v-model="color" :preset="preset"></lay-color-picker>
|
||||
<lay-color-picker v-model="color1" :preset="preset1"></lay-color-picker>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -40,13 +40,13 @@ import { ref } from "vue";
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
const color = ref("#009688");
|
||||
const color1 = ref("#FFB800");
|
||||
|
||||
const preset = ref(["#009688", "#1e9fff", "#ffb800", "#ff5722", "#5fb878"])
|
||||
const preset1 = ref(["#009688", "#1e9fff", "#ffb800", "#ff5722", "#5fb878"])
|
||||
|
||||
return {
|
||||
color,
|
||||
preset
|
||||
color1,
|
||||
preset1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -977,7 +977,7 @@ export default {
|
||||
::: demo
|
||||
|
||||
<template>
|
||||
<lay-table :columns="columns5" id="id" :expand-index="1" :data-source="dataSource5" v-model:selected-keys="selectedKeys5" :checkbox="checkbox5" :default-toolbar="defaultToolbar5" @row="rowClick5" max-height="200px">
|
||||
<lay-table :columns="columns5" id="id" :expand-index="1" :data-source="dataSource5" v-model:selected-keys="selectedKeys5" :checkbox="checkbox5" :default-toolbar="defaultToolbar5" @row="rowClick5" height="200px">
|
||||
<template v-slot:toolbar>
|
||||
<lay-button size="sm">新增</lay-button>
|
||||
<lay-button size="sm">删除</lay-button>
|
||||
@@ -1022,24 +1022,6 @@ export default {
|
||||
customSlot:"name",
|
||||
key:"name",
|
||||
align: "left"
|
||||
},{
|
||||
title:"生日",
|
||||
customSlot:"birthday",
|
||||
width:"200px",
|
||||
key:"birthday"
|
||||
},
|
||||
{
|
||||
title:"年龄",
|
||||
width: "200px",
|
||||
key:"age",
|
||||
sort: true,
|
||||
},
|
||||
{
|
||||
title:"隐藏列",
|
||||
width: "200px",
|
||||
key:"hide",
|
||||
sort: true,
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
title:"备注",
|
||||
|
||||
@@ -11,6 +11,18 @@
|
||||
<template>
|
||||
<lay-timeline>
|
||||
<lay-timeline-item title="1.3.x">
|
||||
<ul>
|
||||
<a name="1-3-1"></a>
|
||||
<li>
|
||||
<h3>1.3.2 <span class="layui-badge-rim">2022-07-21</span></h3>
|
||||
<ul>
|
||||
<li>[修复] table 组件 columns 全部设置 width 时, 计算宽度错误。</li>
|
||||
<li>[修复] table 组件 max-height 状态, 设置字段 fixed 时 scroll 不固定。</li>
|
||||
<li>[修复] color-picker 组件初始色板与默认色不对应问题。</li>
|
||||
<li>[优化] dropdown 组件渲染到 body, 避免 css 污染。</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<a name="1-3-1"></a>
|
||||
<li>
|
||||
|
||||
Reference in New Issue
Block a user