🐛(notice-bar): 修复 color 与 background 类型警告
This commit is contained in:
@@ -71,8 +71,8 @@ export interface LayNoticeBarProps {
|
||||
mode?: string;
|
||||
text?: string;
|
||||
textlist?: any[];
|
||||
color?: Function;
|
||||
background?: Function;
|
||||
color?: string;
|
||||
background?: string;
|
||||
size?: number | string;
|
||||
height?: number | string;
|
||||
delay?: number;
|
||||
|
||||
@@ -157,7 +157,7 @@ watch(currentPage, function () {
|
||||
<a v-if="showRefresh" href="javascript:;" class="layui-laypage-refresh">
|
||||
<i class="layui-icon layui-icon-refresh"></i>
|
||||
</a>
|
||||
<span v-if="showSkip" class="layui-laypage-skip">
|
||||
<span v-if="props.showSkip" class="layui-laypage-skip">
|
||||
到第
|
||||
<input
|
||||
v-model="currentPageShow"
|
||||
|
||||
@@ -17,7 +17,7 @@ export interface LayTableRowProps {
|
||||
expandSpace: boolean;
|
||||
selectedKeys: Recordable[];
|
||||
tableColumnKeys: Recordable[];
|
||||
childrenColumnName: string;
|
||||
childrenColumnName?: string;
|
||||
columns: Recordable[];
|
||||
checkbox?: boolean;
|
||||
id: string;
|
||||
|
||||
@@ -21,7 +21,7 @@ export interface LayTransferProps {
|
||||
height?: string;
|
||||
showSearch?: BooleanOrString;
|
||||
dataSource: Recordable[];
|
||||
selectedKeys: Recordable[];
|
||||
selectedKeys?: Recordable[];
|
||||
}
|
||||
|
||||
const slot = useSlots();
|
||||
|
||||
Reference in New Issue
Block a user