找回密码
 立即注册

QQ登录

只需一步,快速开始

spreadjs666
金牌服务用户   /  发表于:2024-10-9 15:08  /   查看:118  /  回复:2
本帖最后由 Ellia.Duan 于 2024-10-9 17:31 编辑

如附件录屏所示,移动端模式下,Sheet1-3为隐藏sheet,activeSheetIndex 为 3 即Sheet4


调用fromJSON,
第二个参数不传,则默认展示sheet4
第二个参数传了incrementalLoading,则默认展示Sheet2,导致activeSheetIndex设置无效,隐藏的sheet内容展示出来了。

复现路径:https://developer.mescius.com/spreadjs/designer/index.html,控制台执行以下代码即可复现




  1. const designer = new GC.Spread.Sheets.Designer.Designer(document.getElementById("gc-designer-container"));
  2. const spread = designer.getWorkbook();
  3. const sheet = spread.getActiveSheet();
  4. spread.options.scrollByPixel = true;
  5. spread.options.scrollbarShowMax = true;
  6. spread.options.scrollbarMaxAlign = true;
  7. spread.options.allowExtendPasteRange = true;
  8. spread.fromJSON({
  9.     "version": "16.1.4",
  10.     "sheetCount": 5,
  11.     "allowUserDragDrop": false,
  12.     "allowUserDragFill": false,
  13.     "showHorizontalScrollbar": false,
  14.     "showVerticalScrollbar": false,
  15.     "scrollbarMaxAlign": true,
  16.     "tabStripPosition": 1,
  17.     "tabEditable": false,
  18.     "newTabVisible": false,
  19.     "allSheetsListVisible": 0,
  20.     "cutCopyIndicatorBorderColor": "#1564FF",
  21.     "backColor": "#ffffff",
  22.     "grayAreaBackColor": "#F5F7F9",
  23.     "useTouchLayout": true,
  24.     "allowExtendPasteRange": true,
  25.     "copyPasteHeaderOptions": 0,
  26.     "scrollByPixel": true,
  27.     "scrollbarAppearance": 1,
  28.     "customList": [],
  29.     "numbersFitMode": 1,
  30.     "allowInvalidFormula": true,
  31.     "sheets": {
  32.         "Sheet1": {
  33.             "name": "Sheet1",
  34.             "isSelected": false,
  35.             "zoomFactor": 0.75,
  36.             "visible": false,
  37.             "frozenTrailingRowStickToEdge": true,
  38.             "frozenTrailingColumnStickToEdge": true,
  39.             "theme": "Office",
  40.             "data": {
  41.                 "defaultDataNode": {
  42.                     "style": {
  43.                         "backColor": null,
  44.                         "foreColor": "#1B1C1E",
  45.                         "vAlign": 1,
  46.                         "font": "10pt PingFangSC-Regular",
  47.                         "themeFont": null,
  48.                         "formatter": null,
  49.                         "locked": null,
  50.                         "textIndent": null,
  51.                         "wordWrap": null,
  52.                         "showEllipsis": null,
  53.                         "shrinkToFit": null,
  54.                         "backgroundImage": null,
  55.                         "cellType": null,
  56.                         "tabStop": null,
  57.                         "parentName": null,
  58.                         "watermark": null,
  59.                         "cellPadding": "3px 4px 1px 4px"
  60.                     }
  61.                 },
  62.                 "dataTable": {
  63.                     "1": {
  64.                         "2": {
  65.                             "value": "q",
  66.                             "style": {
  67.                                 "backColor": null,
  68.                                 "foreColor": "#1B1C1E",
  69.                                 "_fontSize": "10pt",
  70.                                 "_fontSizeDigit": 10,
  71.                                 "_fontSizeUnit": "pt",
  72.                                 "_fontFamily": "PingFangSC-Regular",
  73.                                 "_font": "10pt PingFangSC-Regular",
  74.                                 "locked": true,
  75.                                 "hidden": false,
  76.                                 "textDecoration": 0,
  77.                                 "cellPadding": "3px 4px 1px 4px"
  78.                             }
  79.                         }
  80.                     },
  81.                     "2": {
  82.                         "2": {
  83.                             "value": 1,
  84.                             "style": {
  85.                                 "backColor": null,
  86.                                 "foreColor": "#1B1C1E",
  87.                                 "_fontSize": "10pt",
  88.                                 "_fontSizeDigit": 10,
  89.                                 "_fontSizeUnit": "pt",
  90.                                 "_fontFamily": "PingFangSC-Regular",
  91.                                 "_font": "10pt PingFangSC-Regular",
  92.                                 "locked": true,
  93.                                 "hidden": false,
  94.                                 "cellPadding": "3px 4px 1px 4px"
  95.                             }
  96.                         }
  97.                     },
  98.                     "3": {
  99.                         "2": {
  100.                             "value": 1,
  101.                             "style": {
  102.                                 "backColor": null,
  103.                                 "foreColor": "#1B1C1E",
  104.                                 "_fontSize": "10pt",
  105.                                 "_fontSizeDigit": 10,
  106.                                 "_fontSizeUnit": "pt",
  107.                                 "_fontFamily": "PingFangSC-Regular",
  108.                                 "_font": "10pt PingFangSC-Regular",
  109.                                 "locked": true,
  110.                                 "hidden": false,
  111.                                 "cellPadding": "3px 4px 1px 4px"
  112.                             }
  113.                         }
  114.                     },
  115.                     "4": {
  116.                         "2": {
  117.                             "value": 1,
  118.                             "style": {
  119.                                 "backColor": null,
  120.                                 "foreColor": "#1B1C1E",
  121.                                 "_fontSize": "10pt",
  122.                                 "_fontSizeDigit": 10,
  123.                                 "_fontSizeUnit": "pt",
  124.                                 "_fontFamily": "PingFangSC-Regular",
  125.                                 "_font": "10pt PingFangSC-Regular",
  126.                                 "locked": true,
  127.                                 "hidden": false,
  128.                                 "cellPadding": "3px 4px 1px 4px"
  129.                             }
  130.                         }
  131.                     },
  132.                     "5": {
  133.                         "2": {
  134.                             "value": 1,
  135.                             "style": {
  136.                                 "backColor": null,
  137.                                 "foreColor": "#1B1C1E",
  138.                                 "_fontSize": "10pt",
  139.                                 "_fontSizeDigit": 10,
  140.                                 "_fontSizeUnit": "pt",
  141.                                 "_fontFamily": "PingFangSC-Regular",
  142.                                 "_font": "10pt PingFangSC-Regular",
  143.                                 "locked": true,
  144.                                 "hidden": false,
  145.                                 "cellPadding": "3px 4px 1px 4px"
  146.                             }
  147.                         }
  148.                     },
  149.                     "6": {
  150.                         "2": {
  151.                             "value": 1,
  152.                             "style": {
  153.                                 "backColor": null,
  154.                                 "foreColor": "#1B1C1E",
  155.                                 "_fontSize": "10pt",
  156.                                 "_fontSizeDigit": 10,
  157.                                 "_fontSizeUnit": "pt",
  158.                                 "_fontFamily": "PingFangSC-Regular",
  159.                                 "_font": "10pt PingFangSC-Regular",
  160.                                 "locked": true,
  161.                                 "hidden": false,
  162.                                 "cellPadding": "3px 4px 1px 4px"
  163.                             }
  164.                         }
  165.                     },
  166.                     "7": {
  167.                         "2": {
  168.                             "value": 1,
  169.                             "style": {
  170.                                 "backColor": null,
  171.                                 "foreColor": "#1B1C1E",
  172.                                 "_fontSize": "10pt",
  173.                                 "_fontSizeDigit": 10,
  174.                                 "_fontSizeUnit": "pt",
  175.                                 "_fontFamily": "PingFangSC-Regular",
  176.                                 "_font": "10pt PingFangSC-Regular",
  177.                                 "locked": true,
  178.                                 "hidden": false,
  179.                                 "cellPadding": "3px 4px 1px 4px"
  180.                             }
  181.                         }
  182.                     },
  183.                     "8": {
  184.                         "2": {
  185.                             "value": 1,
  186.                             "style": {
  187.                                 "backColor": null,
  188.                                 "foreColor": "#1B1C1E",
  189.                                 "_fontSize": "10pt",
  190.                                 "_fontSizeDigit": 10,
  191.                                 "_fontSizeUnit": "pt",
  192.                                 "_fontFamily": "PingFangSC-Regular",
  193.                                 "_font": "10pt PingFangSC-Regular",
  194.                                 "locked": true,
  195.                                 "hidden": false,
  196.                                 "cellPadding": "3px 4px 1px 4px"
  197.                             }
  198.                         }
  199.                     }
  200.                 },
  201.                 "rowDataArray": [],
  202.                 "columnDataArray": []
  203.             },
  204.             "rowHeaderData": {
  205.                 "columnDataArray": [
  206.                     {
  207.                         "style": {
  208.                             "font": "12px PingFangSC-Regular"
  209.                         }
  210.                     }
  211.                 ],
  212.                 "defaultDataNode": {
  213.                     "style": {
  214.                         "themeFont": "Body"
  215.                     }
  216.                 }
  217.             },
  218.             "colHeaderData": {
  219.                 "rowDataArray": [
  220.                     {
  221.                         "style": {
  222.                             "font": "12px PingFangSC-Regular"
  223.                         }
  224.                     }
  225.                 ],
  226.                 "defaultDataNode": {
  227.                     "style": {
  228.                         "themeFont": "Body"
  229.                     }
  230.                 }
  231.             },
  232.             "rowHeaderColInfos": [
  233.                 {
  234.                     "resizable": false,
  235.                     "size": 50
  236.                 }
  237.             ],
  238.             "colHeaderRowInfos": [
  239.                 {
  240.                     "resizable": false,
  241.                     "size": 26
  242.                 }
  243.             ],
  244.             "leftCellIndex": 0,
  245.             "topCellIndex": 0,
  246.             "selections": {
  247.                 "0": {
  248.                     "row": 0,
  249.                     "col": 0,
  250.                     "rowCount": 1,
  251.                     "colCount": 1
  252.                 },
  253.                 "length": 1
  254.             },
  255.             "defaults": {
  256.                 "colHeaderRowHeight": 20,
  257.                 "colWidth": 104,
  258.                 "rowHeaderColWidth": 40,
  259.                 "rowHeight": 26,
  260.                 "_isExcelDefaultColumnWidth": false
  261.             },
  262.             "rowOutlines": {
  263.                 "items": []
  264.             },
  265.             "columnOutlines": {
  266.                 "items": []
  267.             },
  268.             "cellStates": {},
  269.             "states": {},
  270.             "outlineColumnOptions": {},
  271.             "autoMergeRangeInfos": [],
  272.             "shapeCollectionOption": {
  273.                 "snapMode": 0
  274.             },
  275.             "printInfo": {
  276.                 "paperSize": {
  277.                     "width": 850,
  278.                     "height": 1100,
  279.                     "kind": 1
  280.                 }
  281.             },
  282.             "frozenlineColor": "#A8ACB3",
  283.             "allowCellOverflow": false,
  284.             "gridline": {
  285.                 "color": "#E4E7ED"
  286.             },
  287.             "namedStyles": [
  288.                 {
  289.                     "backColor": null,
  290.                     "foreColor": "#1B1C1E",
  291.                     "hAlign": 3,
  292.                     "vAlign": 1,
  293.                     "font": "13.3333px PingFangSC-Regular",
  294.                     "themeFont": null,
  295.                     "formatter": null,
  296.                     "locked": null,
  297.                     "textIndent": null,
  298.                     "wordWrap": null,
  299.                     "showEllipsis": null,
  300.                     "shrinkToFit": null,
  301.                     "backgroundImage": null,
  302.                     "cellType": null,
  303.                     "tabStop": null,
  304.                     "imeMode": 1,
  305.                     "name": "defaultCellStyle",
  306.                     "parentName": null,
  307.                     "watermark": null,
  308.                     "cellPadding": "3px 4px 1px 4px"
  309.                 }
  310.             ],
  311.             "rowCount": 200,
  312.             "index": 0,
  313.             "columnCount": 20,
  314.             "frozenRowCount": 0,
  315.             "frozenColCount": 0,
  316.             "frozenTrailingRowCount": 0,
  317.             "frozenTrailingColCount": 0,
  318.             "spans": [],
  319.             "rows": [
  320.                 null,
  321.                 {
  322.                     "size": 26
  323.                 },
  324.                 {
  325.                     "size": 26
  326.                 },
  327.                 {
  328.                     "size": 26
  329.                 },
  330.                 {
  331.                     "size": 26
  332.                 },
  333.                 {
  334.                     "size": 26
  335.                 },
  336.                 {
  337.                     "size": 26
  338.                 },
  339.                 {
  340.                     "size": 26
  341.                 },
  342.                 {
  343.                     "size": 26
  344.                 }
  345.             ],
  346.             "columns": [],
  347.             "floatingObjects": [],
  348.             "charts": []
  349.         },
  350.         "Sheet2": {
  351.             "name": "Sheet2",
  352.             "isSelected": false,
  353.             "zoomFactor": 0.75,
  354.             "visible": false,
  355.             "frozenTrailingRowStickToEdge": true,
  356.             "frozenTrailingColumnStickToEdge": true,
  357.             "theme": "Office",
  358.             "data": {
  359.                 "defaultDataNode": {
  360.                     "style": {
  361.                         "backColor": null,
  362.                         "foreColor": "#1B1C1E",
  363.                         "vAlign": 1,
  364.                         "font": "10pt PingFangSC-Regular",
  365.                         "themeFont": null,
  366.                         "formatter": null,
  367.                         "locked": null,
  368.                         "textIndent": null,
  369.                         "wordWrap": null,
  370.                         "showEllipsis": null,
  371.                         "shrinkToFit": null,
  372.                         "backgroundImage": null,
  373.                         "cellType": null,
  374.                         "tabStop": null,
  375.                         "parentName": null,
  376.                         "watermark": null,
  377.                         "cellPadding": "3px 4px 1px 4px"
  378.                     }
  379.                 },
  380.                 "dataTable": {
  381.                     "6": {
  382.                         "1": {
  383.                             "value": 2,
  384.                             "style": {
  385.                                 "backColor": null,
  386.                                 "foreColor": "#1B1C1E",
  387.                                 "_fontSize": "10pt",
  388.                                 "_fontSizeDigit": 10,
  389.                                 "_fontSizeUnit": "pt",
  390.                                 "_fontFamily": "PingFangSC-Regular",
  391.                                 "_font": "10pt PingFangSC-Regular",
  392.                                 "locked": true,
  393.                                 "hidden": false,
  394.                                 "cellPadding": "3px 4px 1px 4px"
  395.                             }
  396.                         }
  397.                     }
  398.                 },
  399.                 "rowDataArray": [],
  400.                 "columnDataArray": []
  401.             },
  402.             "rowHeaderData": {
  403.                 "columnDataArray": [
  404.                     {
  405.                         "style": {
  406.                             "font": "12px PingFangSC-Regular"
  407.                         }
  408.                     }
  409.                 ],
  410.                 "defaultDataNode": {
  411.                     "style": {
  412.                         "themeFont": "Body"
  413.                     }
  414.                 }
  415.             },
  416.             "colHeaderData": {
  417.                 "rowDataArray": [
  418.                     {
  419.                         "style": {
  420.                             "font": "12px PingFangSC-Regular"
  421.                         }
  422.                     }
  423.                 ],
  424.                 "defaultDataNode": {
  425.                     "style": {
  426.                         "themeFont": "Body"
  427.                     }
  428.                 }
  429.             },
  430.             "rowHeaderColInfos": [
  431.                 {
  432.                     "resizable": false,
  433.                     "size": 50
  434.                 }
  435.             ],
  436.             "colHeaderRowInfos": [
  437.                 {
  438.                     "resizable": false,
  439.                     "size": 26
  440.                 }
  441.             ],
  442.             "leftCellIndex": 0,
  443.             "topCellIndex": 0,
  444.             "selections": {
  445.                 "0": {
  446.                     "row": 0,
  447.                     "col": 0,
  448.                     "rowCount": 1,
  449.                     "colCount": 1
  450.                 },
  451.                 "length": 1
  452.             },
  453.             "defaults": {
  454.                 "colHeaderRowHeight": 20,
  455.                 "colWidth": 104,
  456.                 "rowHeaderColWidth": 40,
  457.                 "rowHeight": 26,
  458.                 "_isExcelDefaultColumnWidth": false
  459.             },
  460.             "rowOutlines": {
  461.                 "items": []
  462.             },
  463.             "columnOutlines": {
  464.                 "items": []
  465.             },
  466.             "cellStates": {},
  467.             "states": {},
  468.             "outlineColumnOptions": {},
  469.             "autoMergeRangeInfos": [],
  470.             "shapeCollectionOption": {
  471.                 "snapMode": 0
  472.             },
  473.             "printInfo": {
  474.                 "paperSize": {
  475.                     "width": 850,
  476.                     "height": 1100,
  477.                     "kind": 1
  478.                 }
  479.             },
  480.             "frozenlineColor": "#A8ACB3",
  481.             "allowCellOverflow": false,
  482.             "gridline": {
  483.                 "color": "#E4E7ED"
  484.             },
  485.             "namedStyles": [
  486.                 {
  487.                     "backColor": null,
  488.                     "foreColor": "#1B1C1E",
  489.                     "hAlign": 3,
  490.                     "vAlign": 1,
  491.                     "font": "13.3333px PingFangSC-Regular",
  492.                     "themeFont": null,
  493.                     "formatter": null,
  494.                     "locked": null,
  495.                     "textIndent": null,
  496.                     "wordWrap": null,
  497.                     "showEllipsis": null,
  498.                     "shrinkToFit": null,
  499.                     "backgroundImage": null,
  500.                     "cellType": null,
  501.                     "tabStop": null,
  502.                     "imeMode": 1,
  503.                     "name": "defaultCellStyle",
  504.                     "parentName": null,
  505.                     "watermark": null,
  506.                     "cellPadding": "3px 4px 1px 4px"
  507.                 }
  508.             ],
  509.             "rowCount": 200,
  510.             "index": 1,
  511.             "columnCount": 20,
  512.             "frozenRowCount": 0,
  513.             "frozenColCount": 0,
  514.             "frozenTrailingRowCount": 0,
  515.             "frozenTrailingColCount": 0,
  516.             "spans": [],
  517.             "rows": [
  518.                 null,
  519.                 null,
  520.                 null,
  521.                 null,
  522.                 null,
  523.                 null,
  524.                 {
  525.                     "size": 26
  526.                 }
  527.             ],
  528.             "columns": [],
  529.             "floatingObjects": [],
  530.             "charts": []
  531.         },
  532.         "Sheet3": {
  533.             "name": "Sheet3",
  534.             "isSelected": false,
  535.             "zoomFactor": 0.75,
  536.             "visible": false,
  537.             "frozenTrailingRowStickToEdge": true,
  538.             "frozenTrailingColumnStickToEdge": true,
  539.             "theme": "Office",
  540.             "data": {
  541.                 "defaultDataNode": {
  542.                     "style": {
  543.                         "backColor": null,
  544.                         "foreColor": "#1B1C1E",
  545.                         "vAlign": 1,
  546.                         "font": "10pt PingFangSC-Regular",
  547.                         "themeFont": null,
  548.                         "formatter": null,
  549.                         "locked": null,
  550.                         "textIndent": null,
  551.                         "wordWrap": null,
  552.                         "showEllipsis": null,
  553.                         "shrinkToFit": null,
  554.                         "backgroundImage": null,
  555.                         "cellType": null,
  556.                         "tabStop": null,
  557.                         "parentName": null,
  558.                         "watermark": null,
  559.                         "cellPadding": "3px 4px 1px 4px"
  560.                     }
  561.                 },
  562.                 "dataTable": {
  563.                     "6": {
  564.                         "1": {
  565.                             "value": 3,
  566.                             "style": {
  567.                                 "backColor": null,
  568.                                 "foreColor": "#1B1C1E",
  569.                                 "_fontSize": "10pt",
  570.                                 "_fontSizeDigit": 10,
  571.                                 "_fontSizeUnit": "pt",
  572.                                 "_fontFamily": "PingFangSC-Regular",
  573.                                 "_font": "10pt PingFangSC-Regular",
  574.                                 "locked": true,
  575.                                 "hidden": false,
  576.                                 "cellPadding": "3px 4px 1px 4px"
  577.                             }
  578.                         }
  579.                     }
  580.                 },
  581.                 "rowDataArray": [],
  582.                 "columnDataArray": []
  583.             },
  584.             "rowHeaderData": {
  585.                 "columnDataArray": [
  586.                     {
  587.                         "style": {
  588.                             "font": "12px PingFangSC-Regular"
  589.                         }
  590.                     }
  591.                 ],
  592.                 "defaultDataNode": {
  593.                     "style": {
  594.                         "themeFont": "Body"
  595.                     }
  596.                 }
  597.             },
  598.             "colHeaderData": {
  599.                 "rowDataArray": [
  600.                     {
  601.                         "style": {
  602.                             "font": "12px PingFangSC-Regular"
  603.                         }
  604.                     }
  605.                 ],
  606.                 "defaultDataNode": {
  607.                     "style": {
  608.                         "themeFont": "Body"
  609.                     }
  610.                 }
  611.             },
  612.             "rowHeaderColInfos": [
  613.                 {
  614.                     "resizable": false,
  615.                     "size": 50
  616.                 }
  617.             ],
  618.             "colHeaderRowInfos": [
  619.                 {
  620.                     "resizable": false,
  621.                     "size": 26
  622.                 }
  623.             ],
  624.             "leftCellIndex": 0,
  625.             "topCellIndex": 0,
  626.             "selections": {
  627.                 "0": {
  628.                     "row": 0,
  629.                     "col": 0,
  630.                     "rowCount": 1,
  631.                     "colCount": 1
  632.                 },
  633.                 "length": 1
  634.             },
  635.             "defaults": {
  636.                 "colHeaderRowHeight": 20,
  637.                 "colWidth": 104,
  638.                 "rowHeaderColWidth": 40,
  639.                 "rowHeight": 26,
  640.                 "_isExcelDefaultColumnWidth": false
  641.             },
  642.             "rowOutlines": {
  643.                 "items": []
  644.             },
  645.             "columnOutlines": {
  646.                 "items": []
  647.             },
  648.             "cellStates": {},
  649.             "states": {},
  650.             "outlineColumnOptions": {},
  651.             "autoMergeRangeInfos": [],
  652.             "shapeCollectionOption": {
  653.                 "snapMode": 0
  654.             },
  655.             "printInfo": {
  656.                 "paperSize": {
  657.                     "width": 850,
  658.                     "height": 1100,
  659.                     "kind": 1
  660.                 }
  661.             },
  662.             "frozenlineColor": "#A8ACB3",
  663.             "allowCellOverflow": false,
  664.             "gridline": {
  665.                 "color": "#E4E7ED"
  666.             },
  667.             "namedStyles": [
  668.                 {
  669.                     "backColor": null,
  670.                     "foreColor": "#1B1C1E",
  671.                     "hAlign": 3,
  672.                     "vAlign": 1,
  673.                     "font": "13.3333px PingFangSC-Regular",
  674.                     "themeFont": null,
  675.                     "formatter": null,
  676.                     "locked": null,
  677.                     "textIndent": null,
  678.                     "wordWrap": null,
  679.                     "showEllipsis": null,
  680.                     "shrinkToFit": null,
  681.                     "backgroundImage": null,
  682.                     "cellType": null,
  683.                     "tabStop": null,
  684.                     "imeMode": 1,
  685.                     "name": "defaultCellStyle",
  686.                     "parentName": null,
  687.                     "watermark": null,
  688.                     "cellPadding": "3px 4px 1px 4px"
  689.                 }
  690.             ],
  691.             "rowCount": 200,
  692.             "index": 2,
  693.             "columnCount": 20,
  694.             "frozenRowCount": 0,
  695.             "frozenColCount": 0,
  696.             "frozenTrailingRowCount": 0,
  697.             "frozenTrailingColCount": 0,
  698.             "spans": [],
  699.             "rows": [
  700.                 null,
  701.                 null,
  702.                 null,
  703.                 null,
  704.                 null,
  705.                 null,
  706.                 {
  707.                     "size": 26
  708.                 }
  709.             ],
  710.             "columns": [],
  711.             "floatingObjects": [],
  712.             "charts": []
  713.         },
  714.         "Sheet4": {
  715.             "name": "Sheet4",
  716.             "isSelected": true,
  717.             "zoomFactor": 0.75,
  718.             "visible": true,
  719.             "frozenTrailingRowStickToEdge": true,
  720.             "frozenTrailingColumnStickToEdge": true,
  721.             "theme": "Office",
  722.             "data": {
  723.                 "defaultDataNode": {
  724.                     "style": {
  725.                         "backColor": null,
  726.                         "foreColor": "#1B1C1E",
  727.                         "vAlign": 1,
  728.                         "font": "10pt PingFangSC-Regular",
  729.                         "themeFont": null,
  730.                         "formatter": null,
  731.                         "locked": null,
  732.                         "textIndent": null,
  733.                         "wordWrap": null,
  734.                         "showEllipsis": null,
  735.                         "shrinkToFit": null,
  736.                         "backgroundImage": null,
  737.                         "cellType": null,
  738.                         "tabStop": null,
  739.                         "parentName": null,
  740.                         "watermark": null,
  741.                         "cellPadding": "3px 4px 1px 4px"
  742.                     }
  743.                 },
  744.                 "dataTable": {
  745.                     "7": {
  746.                         "2": {
  747.                             "value": 4,
  748.                             "style": {
  749.                                 "backColor": null,
  750.                                 "foreColor": "#1B1C1E",
  751.                                 "_fontSize": "10pt",
  752.                                 "_fontSizeDigit": 10,
  753.                                 "_fontSizeUnit": "pt",
  754.                                 "_fontFamily": "PingFangSC-Regular",
  755.                                 "_font": "10pt PingFangSC-Regular",
  756.                                 "locked": true,
  757.                                 "hidden": false,
  758.                                 "cellPadding": "3px 4px 1px 4px"
  759.                             }
  760.                         }
  761.                     }
  762.                 },
  763.                 "rowDataArray": [],
  764.                 "columnDataArray": []
  765.             },
  766.             "rowHeaderData": {
  767.                 "columnDataArray": [
  768.                     {
  769.                         "style": {
  770.                             "font": "12px PingFangSC-Regular"
  771.                         }
  772.                     }
  773.                 ],
  774.                 "defaultDataNode": {
  775.                     "style": {
  776.                         "themeFont": "Body"
  777.                     }
  778.                 }
  779.             },
  780.             "colHeaderData": {
  781.                 "rowDataArray": [
  782.                     {
  783.                         "style": {
  784.                             "font": "12px PingFangSC-Regular"
  785.                         }
  786.                     }
  787.                 ],
  788.                 "defaultDataNode": {
  789.                     "style": {
  790.                         "themeFont": "Body"
  791.                     }
  792.                 }
  793.             },
  794.             "rowHeaderColInfos": [
  795.                 {
  796.                     "resizable": false,
  797.                     "size": 50
  798.                 }
  799.             ],
  800.             "colHeaderRowInfos": [
  801.                 {
  802.                     "resizable": false,
  803.                     "size": 26
  804.                 }
  805.             ],
  806.             "leftCellIndex": 0,
  807.             "topCellIndex": 0,
  808.             "selections": {
  809.                 "0": {
  810.                     "row": 0,
  811.                     "col": 0,
  812.                     "rowCount": 1,
  813.                     "colCount": 1
  814.                 },
  815.                 "length": 1
  816.             },
  817.             "defaults": {
  818.                 "colHeaderRowHeight": 20,
  819.                 "colWidth": 104,
  820.                 "rowHeaderColWidth": 40,
  821.                 "rowHeight": 26,
  822.                 "_isExcelDefaultColumnWidth": false
  823.             },
  824.             "rowOutlines": {
  825.                 "items": []
  826.             },
  827.             "columnOutlines": {
  828.                 "items": []
  829.             },
  830.             "cellStates": {},
  831.             "states": {},
  832.             "outlineColumnOptions": {},
  833.             "autoMergeRangeInfos": [],
  834.             "shapeCollectionOption": {
  835.                 "snapMode": 0
  836.             },
  837.             "printInfo": {
  838.                 "paperSize": {
  839.                     "width": 850,
  840.                     "height": 1100,
  841.                     "kind": 1
  842.                 }
  843.             },
  844.             "frozenlineColor": "#A8ACB3",
  845.             "allowCellOverflow": false,
  846.             "gridline": {
  847.                 "color": "#E4E7ED"
  848.             },
  849.             "namedStyles": [
  850.                 {
  851.                     "backColor": null,
  852.                     "foreColor": "#1B1C1E",
  853.                     "hAlign": 3,
  854.                     "vAlign": 1,
  855.                     "font": "13.3333px PingFangSC-Regular",
  856.                     "themeFont": null,
  857.                     "formatter": null,
  858.                     "locked": null,
  859.                     "textIndent": null,
  860.                     "wordWrap": null,
  861.                     "showEllipsis": null,
  862.                     "shrinkToFit": null,
  863.                     "backgroundImage": null,
  864.                     "cellType": null,
  865.                     "tabStop": null,
  866.                     "imeMode": 1,
  867.                     "name": "defaultCellStyle",
  868.                     "parentName": null,
  869.                     "watermark": null,
  870.                     "cellPadding": "3px 4px 1px 4px"
  871.                 }
  872.             ],
  873.             "rowCount": 200,
  874.             "index": 3,
  875.             "columnCount": 20,
  876.             "frozenRowCount": 0,
  877.             "frozenColCount": 0,
  878.             "frozenTrailingRowCount": 0,
  879.             "frozenTrailingColCount": 0,
  880.             "spans": [],
  881.             "rows": [
  882.                 null,
  883.                 null,
  884.                 null,
  885.                 null,
  886.                 null,
  887.                 null,
  888.                 null,
  889.                 {
  890.                     "size": 26
  891.                 }
  892.             ],
  893.             "columns": [],
  894.             "floatingObjects": [],
  895.             "charts": []
  896.         },
  897.         "Sheet5": {
  898.             "name": "Sheet5",
  899.             "isSelected": false,
  900.             "zoomFactor": 0.75,
  901.             "visible": true,
  902.             "frozenTrailingRowStickToEdge": true,
  903.             "frozenTrailingColumnStickToEdge": true,
  904.             "theme": "Office",
  905.             "data": {
  906.                 "defaultDataNode": {
  907.                     "style": {
  908.                         "backColor": null,
  909.                         "foreColor": "#1B1C1E",
  910.                         "vAlign": 1,
  911.                         "font": "10pt PingFangSC-Regular",
  912.                         "themeFont": null,
  913.                         "formatter": null,
  914.                         "locked": null,
  915.                         "textIndent": null,
  916.                         "wordWrap": null,
  917.                         "showEllipsis": null,
  918.                         "shrinkToFit": null,
  919.                         "backgroundImage": null,
  920.                         "cellType": null,
  921.                         "tabStop": null,
  922.                         "parentName": null,
  923.                         "watermark": null,
  924.                         "cellPadding": "3px 4px 1px 4px"
  925.                     }
  926.                 },
  927.                 "dataTable": {
  928.                     "7": {
  929.                         "2": {
  930.                             "value": 5,
  931.                             "style": {
  932.                                 "backColor": null,
  933.                                 "foreColor": "#1B1C1E",
  934.                                 "_fontSize": "10pt",
  935.                                 "_fontSizeDigit": 10,
  936.                                 "_fontSizeUnit": "pt",
  937.                                 "_fontFamily": "PingFangSC-Regular",
  938.                                 "_font": "10pt PingFangSC-Regular",
  939.                                 "locked": true,
  940.                                 "hidden": false,
  941.                                 "cellPadding": "3px 4px 1px 4px"
  942.                             }
  943.                         }
  944.                     }
  945.                 },
  946.                 "rowDataArray": [],
  947.                 "columnDataArray": []
  948.             },
  949.             "rowHeaderData": {
  950.                 "columnDataArray": [
  951.                     {
  952.                         "style": {
  953.                             "font": "12px PingFangSC-Regular"
  954.                         }
  955.                     }
  956.                 ],
  957.                 "defaultDataNode": {
  958.                     "style": {
  959.                         "themeFont": "Body"
  960.                     }
  961.                 }
  962.             },
  963.             "colHeaderData": {
  964.                 "rowDataArray": [
  965.                     {
  966.                         "style": {
  967.                             "font": "12px PingFangSC-Regular"
  968.                         }
  969.                     }
  970.                 ],
  971.                 "defaultDataNode": {
  972.                     "style": {
  973.                         "themeFont": "Body"
  974.                     }
  975.                 }
  976.             },
  977.             "rowHeaderColInfos": [
  978.                 {
  979.                     "resizable": false,
  980.                     "size": 50
  981.                 }
  982.             ],
  983.             "colHeaderRowInfos": [
  984.                 {
  985.                     "resizable": false,
  986.                     "size": 26
  987.                 }
  988.             ],
  989.             "leftCellIndex": 0,
  990.             "topCellIndex": 0,
  991.             "selections": {
  992.                 "0": {
  993.                     "row": 0,
  994.                     "col": 0,
  995.                     "rowCount": 1,
  996.                     "colCount": 1
  997.                 },
  998.                 "length": 1
  999.             },
  1000.             "defaults": {
  1001.                 "colHeaderRowHeight": 20,
  1002.                 "colWidth": 104,
  1003.                 "rowHeaderColWidth": 40,
  1004.                 "rowHeight": 26,
  1005.                 "_isExcelDefaultColumnWidth": false
  1006.             },
  1007.             "rowOutlines": {
  1008.                 "items": []
  1009.             },
  1010.             "columnOutlines": {
  1011.                 "items": []
  1012.             },
  1013.             "cellStates": {},
  1014.             "states": {},
  1015.             "outlineColumnOptions": {},
  1016.             "autoMergeRangeInfos": [],
  1017.             "shapeCollectionOption": {
  1018.                 "snapMode": 0
  1019.             },
  1020.             "printInfo": {
  1021.                 "paperSize": {
  1022.                     "width": 850,
  1023.                     "height": 1100,
  1024.                     "kind": 1
  1025.                 }
  1026.             },
  1027.             "frozenlineColor": "#A8ACB3",
  1028.             "allowCellOverflow": false,
  1029.             "gridline": {
  1030.                 "color": "#E4E7ED"
  1031.             },
  1032.             "namedStyles": [
  1033.                 {
  1034.                     "backColor": null,
  1035.                     "foreColor": "#1B1C1E",
  1036.                     "hAlign": 3,
  1037.                     "vAlign": 1,
  1038.                     "font": "13.3333px PingFangSC-Regular",
  1039.                     "themeFont": null,
  1040.                     "formatter": null,
  1041.                     "locked": null,
  1042.                     "textIndent": null,
  1043.                     "wordWrap": null,
  1044.                     "showEllipsis": null,
  1045.                     "shrinkToFit": null,
  1046.                     "backgroundImage": null,
  1047.                     "cellType": null,
  1048.                     "tabStop": null,
  1049.                     "imeMode": 1,
  1050.                     "name": "defaultCellStyle",
  1051.                     "parentName": null,
  1052.                     "watermark": null,
  1053.                     "cellPadding": "3px 4px 1px 4px"
  1054.                 }
  1055.             ],
  1056.             "rowCount": 200,
  1057.             "index": 4,
  1058.             "columnCount": 20,
  1059.             "frozenRowCount": 0,
  1060.             "frozenColCount": 0,
  1061.             "frozenTrailingRowCount": 0,
  1062.             "frozenTrailingColCount": 0,
  1063.             "spans": [],
  1064.             "rows": [
  1065.                 null,
  1066.                 null,
  1067.                 null,
  1068.                 null,
  1069.                 null,
  1070.                 null,
  1071.                 null,
  1072.                 {
  1073.                     "size": 26
  1074.                 }
  1075.             ],
  1076.             "columns": [],
  1077.             "floatingObjects": [],
  1078.             "charts": []
  1079.         }
  1080.     },
  1081.     "sheetTabCount": 0,
  1082.     "namedPatterns": {},
  1083.     "activeSheetIndex": 3
  1084. },{
  1085.       incrementalLoading: {
  1086.         
  1087.         
  1088.       }
  1089.     })
复制代码




屏幕录制2024-10-09 下午3.04.17.mov

3.61 MB, 下载次数: 7

评分

参与人数 1金币 +200 收起 理由
Ellia.Duan + 200

查看全部评分

2 个回复

倒序浏览
Ellia.DuanSpreadJS 开发认证
超级版主   /  发表于:2024-10-9 17:40:22
沙发
本帖最后由 Ellia.Duan 于 2024-10-10 10:57 编辑

您好,问题已复现,我将深入调研下此问题。SJS-26716
回复 使用道具 举报
Ellia.DuanSpreadJS 开发认证
超级版主   /  发表于:2024-10-11 10:25:02
板凳
您好,此问题已在17.1.7版本修复。此版本已发布,您可以下载测试下。
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部