소스 검색

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;
         };