Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #44 from gsw945/master
Browse files Browse the repository at this point in the history
collaborative editing bug(not defined ReferenceError) fix
  • Loading branch information
Dushusir authored Sep 17, 2020
2 parents 2ffd9ae + 1ae5aa8 commit a93bc86
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/controllers/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -714,13 +714,15 @@ const server = {
multipleRangeShow: function(id, name, r, c) {
let _this = this;

let r2 = Store.luckysheet_select_save[0].row[1],
c2 = Store.luckysheet_select_save[0].column[1];
let r1 = r2 = r;
let c1 = c2 = c;

let row = visibledatarow[r2],
row_pre = r1 - 1 == -1 ? 0 : visibledatarow[r1 - 1],
col = visibledatacolumn[c2],
col_pre = c1 - 1 == -1 ? 0 : visibledatacolumn[c1 - 1];
let row = Store.visibledatarow[r2],
row_pre = r1 - 1 == -1 ? 0 : Store.visibledatarow[r1 - 1],
col = Store.visibledatacolumn[c2],
col_pre = c1 - 1 == -1 ? 0 : Store.visibledatacolumn[c1 - 1];

let margeset = menuButton.mergeborer(Store.flowdata, r1, c1);
if(!!margeset){
Expand Down

0 comments on commit a93bc86

Please sign in to comment.