fix: 类型推断警告
This commit is contained in:
parent
06ac16fe5a
commit
fcc3be11fc
@ -17,9 +17,11 @@
|
|||||||
<h3>0.4.4 <span class="layui-badge-rim">2022-03-29</span></h3>
|
<h3>0.4.4 <span class="layui-badge-rim">2022-03-29</span></h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>[新增] tab 组件 position 属性, 不同方向的选项卡标题。</li>
|
<li>[新增] tab 组件 position 属性, 不同方向的选项卡标题。</li>
|
||||||
<li>[修复] variable 全局变量重复导入的问题</li>
|
<li>[修复] transfer 组件 showSearch 属性类型警告。</li>
|
||||||
|
<li>[修复] upload 组件 number 属性必填警告。</li>
|
||||||
|
<li>[修复] variable 全局变量重复导入的问题。</li>
|
||||||
<li>[支持] icon 列表复制。</li>
|
<li>[支持] icon 列表复制。</li>
|
||||||
<li>[支持] 夜间模式</li>
|
<li>[支持] 夜间模式。</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -81,7 +81,7 @@ app.mount('#app')
|
|||||||
::: describe 根据不同的 CDN 提供商有不同的引入方式, 根据不同的 CDN 提供商有不同的引入方式, 我们在这里以 unpkg 举例。
|
::: describe 根据不同的 CDN 提供商有不同的引入方式, 根据不同的 CDN 提供商有不同的引入方式, 我们在这里以 unpkg 举例。
|
||||||
:::
|
:::
|
||||||
|
|
||||||
```
|
```html
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
|
@ -204,16 +204,16 @@ const throttle = (func: Function, wait: number) => {
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: #f6f6f6 !important;
|
background-color: #f6f6f6 !important;
|
||||||
color: #5fb878;
|
color: var(--global-checked-color);
|
||||||
}
|
}
|
||||||
&:active {
|
&:active {
|
||||||
background-color: #f6f6f6 !important;
|
background-color: #f6f6f6 !important;
|
||||||
color: #89d89f;
|
color: var(--global-checked-color);
|
||||||
}
|
}
|
||||||
&.active {
|
&.active {
|
||||||
background-color: #f6f6f6 !important;
|
background-color: #f6f6f6 !important;
|
||||||
* {
|
* {
|
||||||
color: #5fb878 !important;
|
color: var(--global-checked-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -41,6 +41,7 @@ const emit = defineEmits([
|
|||||||
"change",
|
"change",
|
||||||
"row-double",
|
"row-double",
|
||||||
"update:selectedKeys",
|
"update:selectedKeys",
|
||||||
|
"contextmenu"
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const slot = useSlots();
|
const slot = useSlots();
|
||||||
|
@ -8,12 +8,12 @@ export default {
|
|||||||
import "./index.less";
|
import "./index.less";
|
||||||
import LayScroll from "../scroll";
|
import LayScroll from "../scroll";
|
||||||
import { Ref, ref, useSlots, watch } from "vue";
|
import { Ref, ref, useSlots, watch } from "vue";
|
||||||
import { Recordable } from "../../types";
|
import { BooleanOrString, Recordable } from "../../types";
|
||||||
|
|
||||||
export interface LayTransferProps {
|
export interface LayTransferProps {
|
||||||
id?: string;
|
id?: string;
|
||||||
title?: string[];
|
title?: string[];
|
||||||
showSearch?: boolean;
|
showSearch?: BooleanOrString;
|
||||||
dataSource: Recordable[];
|
dataSource: Recordable[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user