Compare commits
No commits in common. "025132edb03583b30750ed42f595d353b1390135" and "e522bb54ce2ade80da51ba7d49111694cbc4ed76" have entirely different histories.
025132edb0
...
e522bb54ce
@ -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.keys().length == 0) {
|
||||
if (sxlist.value.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.keys().length == 0) {
|
||||
if (sxlist.value.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.keys().length == 0) {
|
||||
if (sxlist.value.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