Explorar el Código

fix: 只读checkbox应支持三种状态

vian hace 4 años
padre
commit
80b7e8579c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      public/web/sheet/sheet_common.js

+ 1 - 1
public/web/sheet/sheet_common.js

@@ -501,7 +501,7 @@ var sheetCommonObj = {
     // 无法勾选的复选框
     getReadOnlyCheckBox () {
         function ReadOnlyCheckBox() {}
-        ReadOnlyCheckBox.prototype = new GC.Spread.Sheets.CellTypes.CheckBox();
+        ReadOnlyCheckBox.prototype = this.getCheckBox(true);
         ReadOnlyCheckBox.prototype.processMouseUp = function () {
             return;
         };