From d38c9a99dc9d9450200a6d9e64876d164242177b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 19 十二月 2023 20:12:13 +0800 Subject: [PATCH] 2023-12-19 --- src/templates/zshare/editTable/index.jsx | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/templates/zshare/editTable/index.jsx b/src/templates/zshare/editTable/index.jsx index 6b4c9f4..7383cea 100644 --- a/src/templates/zshare/editTable/index.jsx +++ b/src/templates/zshare/editTable/index.jsx @@ -790,7 +790,9 @@ if (col.copy) { col.render = (text) => (<Paragraph copyable>{text}</Paragraph>) } + if (!col.editable) return col + return { ...col, onCell: record => ({ -- Gitblit v1.8.0