test table

This commit is contained in:
Theluyuan 2023-06-28 14:36:16 +08:00
parent c7f91d9c7e
commit 001667587f
4 changed files with 4 additions and 1 deletions

View File

@ -1086,6 +1086,7 @@ const _sfc_main = defineComponent({
}
});
watch(() => props.dataSource, () => {
console.log("table\u6570\u636E\u66F4\u65B0");
tableDataSource.value = [...props.dataSource];
}, { deep: true });
const changeAll = (isChecked) => {

View File

@ -19533,6 +19533,7 @@ const _sfc_main$D = defineComponent({
}
});
watch(() => props.dataSource, () => {
console.log("table\u6570\u636E\u66F4\u65B0");
tableDataSource.value = [...props.dataSource];
}, { deep: true });
const changeAll = (isChecked) => {

View File

@ -272,6 +272,7 @@ const tableSelectedKey: WritableComputedRef<string> = computed({
watch(
() => props.dataSource,
() => {
console.log("table数据更新")
tableDataSource.value = [...props.dataSource];
// if(!props.page){
// datalist.value = [...props.dataSource]

File diff suppressed because one or more lines are too long