From 6da4fbc765e551445c39fb0c42e4e190bf4f54f6 Mon Sep 17 00:00:00 2001 From: YangJiSen <38172452@qq.com> Date: Thu, 11 Apr 2024 10:07:00 +0800 Subject: [PATCH] chore(table): watch data add deep on true --- src/packages/__VUE/table/index.taro.vue | 3 ++- src/packages/__VUE/table/index.vue | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/packages/__VUE/table/index.taro.vue b/src/packages/__VUE/table/index.taro.vue index 6625c89340..f32ebe8804 100644 --- a/src/packages/__VUE/table/index.taro.vue +++ b/src/packages/__VUE/table/index.taro.vue @@ -138,7 +138,8 @@ export default create({ () => props.data, (val) => { state.curData = val.slice() - } + }, + {deep: true} ) return { diff --git a/src/packages/__VUE/table/index.vue b/src/packages/__VUE/table/index.vue index 9c1d6debd5..3e3fa1294a 100644 --- a/src/packages/__VUE/table/index.vue +++ b/src/packages/__VUE/table/index.vue @@ -138,7 +138,8 @@ export default create({ () => props.data, (val) => { state.curData = val.slice() - } + }, + {deep: true} ) return {