Explorar el Código

修改单元格第一次渲染显示[object Object]

Renxy hace 2 años
padre
commit
230fc5db21
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/global/getRowlen.js

+ 1 - 1
src/global/getRowlen.js

@@ -490,7 +490,7 @@ function getCellTextInfo(cell , ctx, option){
         underLine = checkstatusByCell(cell ,"un");//underLine
         fontSize = checkstatusByCell(cell ,"fs");
 
-        if(cell instanceof Object){
+        if(typeof cell == 'object'){
             value = cell.m;
             if(value == null){
                 value = cell.v;