Browse Source

sjs,右键时,刷新原选中行与新选中行颜色

maixinrong 5 years ago
parent
commit
3ddfa5d22c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/public/js/spreadjs_rela/spreadjs_zh.js

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

@@ -219,6 +219,7 @@ const SpreadJsObj = {
         const selections = sheet.getSelections(), target = this.getHitTest(obj, e, sheet), range = this.getTargetSelection(sheet, target);
         if (!this.checkTargetInSelection(selections, range)) {
             sheet.setSelection(range.row, range.col, range.rowCount, range.colCount);
+            SpreadJsObj.reloadRowsBackColor(sheet, [selections[0].row, range.row]);
         }
         return target;
     },