Explorar o código

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

vian %!s(int64=4) %!d(string=hai) anos
pai
achega
80b7e8579c
Modificáronse 1 ficheiros con 1 adicións e 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;
         };