diff --git a/es/table/index.js b/es/table/index.js index 4acefb6..11d05bf 100644 --- a/es/table/index.js +++ b/es/table/index.js @@ -1484,7 +1484,7 @@ const _sfc_main = defineComponent({ sxlist.value[e.key] = e.list; } watch([sxlist, () => props.dataSource], () => { - console.log(JSON.stringify(sxlist.value)); + console.log(JSON.stringify(sxlist.value), JSON.stringify(props.dataSource.value)); let list = [...props.dataSource]; let endlist = []; for (let i in sxlist.value) { diff --git a/lib/index.js b/lib/index.js index c83bee9..fba40f3 100644 --- a/lib/index.js +++ b/lib/index.js @@ -19931,7 +19931,7 @@ const _sfc_main$D = defineComponent({ sxlist.value[e.key] = e.list; } watch([sxlist, () => props.dataSource], () => { - console.log(JSON.stringify(sxlist.value)); + console.log(JSON.stringify(sxlist.value), JSON.stringify(props.dataSource.value)); let list = [...props.dataSource]; let endlist = []; for (let i in sxlist.value) { diff --git a/src/component/table/index.vue b/src/component/table/index.vue index 5414d59..0d7d68c 100644 --- a/src/component/table/index.vue +++ b/src/component/table/index.vue @@ -792,7 +792,7 @@ watch( [sxlist,()=>props.dataSource], () => { // tableDataSource - console.log(JSON.stringify(sxlist.value)) + console.log(JSON.stringify(sxlist.value),JSON.stringify(props.dataSource.value)) let list: any = [...props.dataSource]; let endlist: any = []; for (let i in sxlist.value) { diff --git a/umd/index.js b/umd/index.js index 8fbf8ff..b5e8974 100644 --- a/umd/index.js +++ b/umd/index.js @@ -90,7 +90,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho