diff --git a/es/table/index.js b/es/table/index.js index de5a685..4acefb6 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(sxlist); + console.log(JSON.stringify(sxlist.value)); let list = [...props.dataSource]; let endlist = []; for (let i in sxlist.value) { diff --git a/lib/index.js b/lib/index.js index 4cee3ed..c83bee9 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(sxlist); + console.log(JSON.stringify(sxlist.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 6d9cfed..5414d59 100644 --- a/src/component/table/index.vue +++ b/src/component/table/index.vue @@ -792,7 +792,7 @@ watch( [sxlist,()=>props.dataSource], () => { // tableDataSource - console.log(sxlist) + console.log(JSON.stringify(sxlist.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 e57a84a..8fbf8ff 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