cell().cellType() ----------------》(undefined)sheet.getCellType()------------》({typeName:"1"})
获取单元格后 再获取单元格类型
与 直接获取单元格类型返回的结果不一致
在sample中,console中运行的结果
spread.getActiveSheet().getCell(0,0).cellType()
undefined
spread.getActiveSheet().getCellType(0,0)
- Qa {allowOverflow: true, typeName: "1", editorType: 1}
- allowOverflow:true
- editorType:1
- typeName:"1"
- __proto__:_
|
|