ソースを参照

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

vian 4 年 前
コミット
80b7e8579c
1 ファイル変更1 行追加1 行削除
  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;
         };