test table
This commit is contained in:
parent
c7f91d9c7e
commit
001667587f
@ -1086,6 +1086,7 @@ const _sfc_main = defineComponent({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
watch(() => props.dataSource, () => {
|
watch(() => props.dataSource, () => {
|
||||||
|
console.log("table\u6570\u636E\u66F4\u65B0");
|
||||||
tableDataSource.value = [...props.dataSource];
|
tableDataSource.value = [...props.dataSource];
|
||||||
}, { deep: true });
|
}, { deep: true });
|
||||||
const changeAll = (isChecked) => {
|
const changeAll = (isChecked) => {
|
||||||
|
@ -19533,6 +19533,7 @@ const _sfc_main$D = defineComponent({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
watch(() => props.dataSource, () => {
|
watch(() => props.dataSource, () => {
|
||||||
|
console.log("table\u6570\u636E\u66F4\u65B0");
|
||||||
tableDataSource.value = [...props.dataSource];
|
tableDataSource.value = [...props.dataSource];
|
||||||
}, { deep: true });
|
}, { deep: true });
|
||||||
const changeAll = (isChecked) => {
|
const changeAll = (isChecked) => {
|
||||||
|
@ -272,6 +272,7 @@ const tableSelectedKey: WritableComputedRef<string> = computed({
|
|||||||
watch(
|
watch(
|
||||||
() => props.dataSource,
|
() => props.dataSource,
|
||||||
() => {
|
() => {
|
||||||
|
console.log("table数据更新")
|
||||||
tableDataSource.value = [...props.dataSource];
|
tableDataSource.value = [...props.dataSource];
|
||||||
// if(!props.page){
|
// if(!props.page){
|
||||||
// datalist.value = [...props.dataSource]
|
// datalist.value = [...props.dataSource]
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user