@@ -44,7 +44,7 @@ $(document).ready(() => {
font: '12px 微软雅黑',
readOnly: readOnly,
imageClick: function (data, hitinfo) {
- if (!data) return;
+ if (!data || readOnly) return;
const setting = hitinfo.sheet.zh_setting;
if (!setting) return;
@@ -49,7 +49,7 @@ $(document).ready(() => {
}
},
@@ -1060,7 +1060,7 @@ const SpreadJsObj = {
};
let TreeNodeCellType = function (){};
- TreeNodeCellType.prototype = new spreadNS.CellTypes.Base();
+ TreeNodeCellType.prototype = new spreadNS.CellTypes.Text();
const proto = TreeNodeCellType.prototype;
/**