From 8f00ed938f4cc88811085ae7664b29f23bdcc072 Mon Sep 17 00:00:00 2001 From: huangxiaomin Date: Wed, 7 Jul 2021 14:10:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20ureport=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=A1=8C/=E5=88=97=E6=97=B6=EF=BC=8C=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=AD=97=E4=BD=93=E5=A4=A7=E5=B0=8F=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ureport2-js/src/Utils.js | 2 +- ureport2-js/src/table/ContextMenu.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ureport2-js/src/Utils.js b/ureport2-js/src/Utils.js index 0a9c017..2ae991d 100644 --- a/ureport2-js/src/Utils.js +++ b/ureport2-js/src/Utils.js @@ -75,7 +75,7 @@ export function resetTableData(hot){ }; export function buildNewCellDef(rowNumber,columnNumber){ - let cellDef = {rowNumber,columnNumber,expand: 'None', cellStyle: {fontSize:9,forecolor:'0,0,0',fontFamily:'宋体',align:'center',valign:'middle'}, value: {type: 'simple', value: ''}}; + let cellDef = {rowNumber,columnNumber,expand: 'None', cellStyle: {fontSize:10,forecolor:'0,0,0',fontFamily:'宋体',align:'center',valign:'middle'}, value: {type: 'simple', value: ''}}; return cellDef; }; diff --git a/ureport2-js/src/table/ContextMenu.js b/ureport2-js/src/table/ContextMenu.js index 8083370..8b6a13b 100644 --- a/ureport2-js/src/table/ContextMenu.js +++ b/ureport2-js/src/table/ContextMenu.js @@ -360,7 +360,7 @@ export default function buildMenuConfigure(){ hot.setDataAtCell(i,j,''); }else if(type==='style'){ removeCellsMap.set(key,cell.cellStyle); - cell.cellStyle={fontSize:9,forecolor:'0,0,0',fontFamily:'宋体',align:'center',valign:'middle'}; + cell.cellStyle={fontSize:10,forecolor:'0,0,0',fontFamily:'宋体',align:'center',valign:'middle'}; }else if(type==='all'){ context.removeCell(cell); removeCellsMap.set(key,cell); @@ -372,7 +372,7 @@ export default function buildMenuConfigure(){ type:'simple', value:'' }, - cellStyle:{fontSize:9,forecolor:'0,0,0',fontFamily:'宋体',align:'center',valign:'middle'} + cellStyle:{fontSize:10,forecolor:'0,0,0',fontFamily:'宋体',align:'center',valign:'middle'} }; context.addCell(newCell); hot.setDataAtCell(i,j,'');