MaiXinRong 5 years ago
parent
commit
436ad291d6

+ 1 - 1
app/public/js/se_bonus.js

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

+ 1 - 1
app/public/js/se_other.js

@@ -49,7 +49,7 @@ $(document).ready(() => {
             }
         },
         imageClick: function (data, hitinfo) {
-            if (!data) return;
+            if (!data || readOnly) return;
 
             const setting = hitinfo.sheet.zh_setting;
             if (!setting) return;

+ 1 - 1
app/public/js/spreadjs_rela/spreadjs_zh.js

@@ -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;
 
             /**