fix: 类型推断警告

This commit is contained in:
就眠儀式
2022-03-31 19:05:08 +08:00
parent 06ac16fe5a
commit fcc3be11fc
5 changed files with 11 additions and 8 deletions

View File

@@ -41,6 +41,7 @@ const emit = defineEmits([
"change",
"row-double",
"update:selectedKeys",
"contextmenu"
]);
const slot = useSlots();

View File

@@ -8,12 +8,12 @@ export default {
import "./index.less";
import LayScroll from "../scroll";
import { Ref, ref, useSlots, watch } from "vue";
import { Recordable } from "../../types";
import { BooleanOrString, Recordable } from "../../types";
export interface LayTransferProps {
id?: string;
title?: string[];
showSearch?: boolean;
showSearch?: BooleanOrString;
dataSource: Recordable[];
}