diff --git a/examples/docs/zh-cn/table.md b/examples/docs/zh-cn/table.md index 983071ab2..1bf173f93 100644 --- a/examples/docs/zh-cn/table.md +++ b/examples/docs/zh-cn/table.md @@ -112,10 +112,6 @@ methods: { handleSelectionChange(val) { - this.singleSelection = val; - }, - - handleMultipleSelectionChange(val) { this.multipleSelection = val; }, @@ -138,10 +134,6 @@ }, watch: { - singleSelection(val) { - console.log('selection: ', val); - }, - multipleSelection(val) { console.log('selection: ', val); } @@ -684,7 +676,7 @@ + @selection-change="handleSelectionChange">