From 0f22c04237fbe746887feafafca36d5cf996d0e0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 26 九月 2021 18:28:26 +0800 Subject: [PATCH] 2021-09-26 --- src/tabviews/custom/components/tabs/antv-tabs/index.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tabviews/custom/components/tabs/antv-tabs/index.jsx b/src/tabviews/custom/components/tabs/antv-tabs/index.jsx index 61e8418..23aa817 100644 --- a/src/tabviews/custom/components/tabs/antv-tabs/index.jsx +++ b/src/tabviews/custom/components/tabs/antv-tabs/index.jsx @@ -52,13 +52,13 @@ MKEmitter.removeListener('resetSelectLine', this.resetParentParam) } - resetParentParam = (MenuID, id) => { + resetParentParam = (MenuID, id, data) => { const { parentIds, bids } = this.state if (!parentIds.includes(MenuID)) return this.setState({ - bids: {...bids, [MenuID]: id} + bids: {...bids, [MenuID]: id, [MenuID + '_data']: data} }) } -- Gitblit v1.8.0