From 325aa13d3b61d1c066f8fcab107003ef36713df3 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 16 一月 2025 10:20:09 +0800 Subject: [PATCH] 2025-01-16 --- src/menu/components/table/edit-table/columns/index.jsx | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/src/menu/components/table/edit-table/columns/index.jsx b/src/menu/components/table/edit-table/columns/index.jsx index e0e95cc..16de3eb 100644 --- a/src/menu/components/table/edit-table/columns/index.jsx +++ b/src/menu/components/table/edit-table/columns/index.jsx @@ -47,11 +47,6 @@ cols: [column] } - let srcid = localStorage.getItem(window.GLOB.sysSign + 'srcId') - if (srcid) { - val.$srcId = srcid - } - oInput.value = window.btoa(window.encodeURIComponent(JSON.stringify(val))) document.body.appendChild(oInput) oInput.select() @@ -386,7 +381,7 @@ if (!cell.eleType) { if (cell.copyType === 'action') { cell.eleType = 'button' - cell.width = typeof(cell.width) === 'number' ? cell.width : 12 + cell.width = cell.width || cell.width === 0 ? cell.width : 12 } else { cell.eleType = 'text' } @@ -551,11 +546,6 @@ let val = { copyType: 'editcols', cols: columns.filter(col => !col.origin) - } - - let srcid = localStorage.getItem(window.GLOB.sysSign + 'srcId') - if (srcid) { - val.$srcId = srcid } oInput.value = window.btoa(window.encodeURIComponent(JSON.stringify(val))) -- Gitblit v1.8.0