Compare commits
2 Commits
e522bb54ce
...
025132edb0
Author | SHA1 | Date | |
---|---|---|---|
025132edb0 | |||
e4369a5f16 |
@ -1479,14 +1479,14 @@ const _sfc_main = defineComponent({
|
||||
sortTable(event, selcolumn.value.key, "desc", true);
|
||||
}
|
||||
function sx(e) {
|
||||
console.log("\u7B5B\u9009\u4E8B\u4EF6", e);
|
||||
sxlist.value[e.key] = e.list;
|
||||
console.log("\u7B5B\u9009\u4E8B\u4EF6", sxlist.value, sxlist.value.length);
|
||||
}
|
||||
watch(sxlist, () => {
|
||||
console.log("sxlist\u66F4\u65B0");
|
||||
});
|
||||
watch([() => sxlist, () => props.dataSource], (old, new1) => {
|
||||
if (sxlist.value.length == 0) {
|
||||
if (sxlist.value.keys().length == 0) {
|
||||
return;
|
||||
}
|
||||
let list = [...props.dataSource];
|
||||
|
@ -19926,14 +19926,14 @@ const _sfc_main$D = defineComponent({
|
||||
sortTable(event, selcolumn.value.key, "desc", true);
|
||||
}
|
||||
function sx(e) {
|
||||
console.log("\u7B5B\u9009\u4E8B\u4EF6", e);
|
||||
sxlist.value[e.key] = e.list;
|
||||
console.log("\u7B5B\u9009\u4E8B\u4EF6", sxlist.value, sxlist.value.length);
|
||||
}
|
||||
watch(sxlist, () => {
|
||||
console.log("sxlist\u66F4\u65B0");
|
||||
});
|
||||
watch([() => sxlist, () => props.dataSource], (old, new1) => {
|
||||
if (sxlist.value.length == 0) {
|
||||
if (sxlist.value.keys().length == 0) {
|
||||
return;
|
||||
}
|
||||
let list = [...props.dataSource];
|
||||
|
@ -781,8 +781,8 @@ function desc(event: any) {
|
||||
}
|
||||
|
||||
function sx(e: any) {
|
||||
console.log("筛选事件",e)
|
||||
sxlist.value[e.key] = e.list;
|
||||
console.log("筛选事件",sxlist.value,sxlist.value.length)
|
||||
}
|
||||
watch(sxlist, () => {
|
||||
console.log("sxlist更新");
|
||||
@ -792,7 +792,7 @@ watch(
|
||||
(old, new1) => {
|
||||
// tableDataSource
|
||||
// console.log(JSON.stringify(sxlist.value),JSON.stringify(props.dataSource),old[0] == new1[0],old[1] == new1[1])
|
||||
if (sxlist.value.length == 0) {
|
||||
if (sxlist.value.keys().length == 0) {
|
||||
return;
|
||||
}
|
||||
let list: any = [...props.dataSource];
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user