fix soul筛选显示
This commit is contained in:
@@ -1133,6 +1133,7 @@ window.addEventListener("click", heddin);
|
||||
:top="soultop"
|
||||
:left="soulleft"
|
||||
v-show="soulkey == column.key"
|
||||
:show="soulkey == column.key"
|
||||
@asc="asc"
|
||||
@desc="desc"
|
||||
@daochu="exportData"
|
||||
|
||||
@@ -76,12 +76,14 @@ export interface SoulTableProps {
|
||||
top: number;
|
||||
list: any;
|
||||
soulkey: string;
|
||||
show:boolean;
|
||||
}
|
||||
const props = withDefaults(defineProps<SoulTableProps>(), {
|
||||
top: 10,
|
||||
left: 10,
|
||||
list: [],
|
||||
soulkey: "",
|
||||
show:false
|
||||
});
|
||||
const emit = defineEmits(["asc", "desc", "sx",'daochu']);
|
||||
function asc(event: any) {
|
||||
@@ -97,7 +99,7 @@ const sel: any = ref([]);
|
||||
const list: any = ref([]);
|
||||
const alllist: any = ref([]);
|
||||
watch(
|
||||
() => [props.list, props.soulkey],
|
||||
() => [props.show],
|
||||
() => {
|
||||
let set = new Set();
|
||||
for (let i of props.list) {
|
||||
|
||||
Reference in New Issue
Block a user