本帖最后由 Richard.Ma 于 2023-5-19 11:38 编辑
如图所示,执行以下代码,两行之间的空隙很大:
- spread.getActiveSheet().setValue(1,1, {
- "text": "",
- "richText": [
- {
- "style": {
- "font": " 24pt PingFangSC-Regular",
- "textDecoration": 0,
- "foreColor": "#1B1C1E"
- },
- "text": "范德萨发大沙发\n"
- },{
- "style": {
- "font": " 10pt PingFangSC-Regular",
- "textDecoration": 0,
- "foreColor": "#1B1C1E"
- },
- "text": "sfasdf"
- }
- ]
- })
复制代码
|
|