[
{
"id": "formulas",
"text": "公式",
"buttonGroups": [
{
"label": "函数库",
"thumbnailClass": "ribbon-button-insertfunction",
"commandGroup": {
"commands": [
"insertFunction"
]
}
},
{
"label": "函数库",
"thumbnailClass": "ribbon-thumbnail-functions",
"commandGroup": {
"children": [
{
"command": "formulaAutoSum",
"type": "dropdown",
"children": [
"editingAutoSum",
"average",
"countNumbers",
"max",
"min"
]
},
"formulaFinancial",
"logicalFormula",
"logicalFormulaAllowDynamicArray",
"formulaText",
"formulaTextAllowDynamicArray",
"formulaDateTime",
"formulaLookupReference",
"formulaLookupReferenceAllowDynamicArray",
"formulaMathTrig",
"formulaMathTrigAllowDynamicArray",
"moreFunctions"
]
}
},
{
"label": "定义的名称",
"thumbnailClass": "ribbon-thumbnail-names",
"commandGroup": {
"commands": [
"nameManager"
]
}
},
{
"label": "公式审核",
"thumbnailClass": "ribbon-thumbnail-formula-auditing",
"commandGroup": {
"direction": "vertical",
"commands": [
"showFormulas",
"showFormulaEditorPanel"
]
}
},
{
"label": "计算",
"thumbnailClass": "ribbon-thumbnail-formula-auditing",
"commandGroup": {
"children": [
{
"commands": "calculationOptionsPanel",
"type": "dropdown",
"children": [
"calculationOptionAutomatic",
"calculationOptionManual",
null,
null,
null,
"formulaViewBtnCommand"
]
},
{
"direction": "vertical",
"commands": [
"calculateNow",
"calculateSheet"
]
}
]
}
},
{
"label": "公式设置",
"thumbnailClass": "ribbon-thumbnail-spreadsettings",
"commandGroup": {
"children": [
{
"type": "dropdown",
"command": {
"bigButton": true,
"text": "公式设置",
"title": "公式设置",
"commandName": "fetchFormulaCommand",
"iconClass": "ribbon-button-allFormulaSettingImg"
},
"children": [
"getDataBtnCommand",
"getEntireDateBtnCommand",
"setModelFormulaBtnCommand",
"addTurnWriteFormulaBtnCommand",
"deletionFormulaImg"
]
}
]
}
}
],
"visibleWhen": "!TableSheetActive && !DataManagerActive && !IsInTableSheetDesignMode"
}
] 经过调式,发现计算菜单导致了这个问题,把这个从designer中移除就好了,请分析一下,这个计算菜单为什么会导致报错 |