From 81a5ae579e84d7cfe0cda268d4156d4b78a27454 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 30 十二月 2024 13:46:34 +0800 Subject: [PATCH] 2024-12-30 --- src/menu/components/share/pastebasetable/index.jsx | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/menu/components/share/pastebasetable/index.jsx b/src/menu/components/share/pastebasetable/index.jsx index 84811f8..9204d46 100644 --- a/src/menu/components/share/pastebasetable/index.jsx +++ b/src/menu/components/share/pastebasetable/index.jsx @@ -4,6 +4,7 @@ import { SnippetsOutlined } from '@ant-design/icons' import Utils from '@/utils/utils.js' +import MenuUtils from '@/utils/utils-custom.js' import asyncComponent from '@/utils/asyncComponent' // import './index.scss' @@ -52,6 +53,10 @@ } else if (col.type === 'custom' && col.elements) { col.elements = col.elements.map(cell => { cell.uuid = Utils.getuuid() + + if (cell.eleType === 'button') { + MenuUtils.resetBtn(cell, cell.uuid) + } return cell }) } @@ -69,6 +74,8 @@ cell.uuid = _uuid + MenuUtils.resetBtn(cell, cell.uuid) + return cell }) -- Gitblit v1.8.0