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

Commit

Permalink
fix(fix #209 fix #219): highlight follow checkout page
Browse files Browse the repository at this point in the history
Collaborative highlighting changes with cell changes  Switching pages does not affect highlight
  • Loading branch information
renxxing committed Dec 4, 2020
1 parent c547596 commit 0a5ca86
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/controllers/select.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,6 @@ function collaborativeEditBox() {
}
//合并单元格时执行
if (Object.keys(range).length > 0 ) {
console.log(range);

let flag_sure_merge = false
if(range.v.length > 1) {
flag_sure_merge = Object.keys(range.v[1][0]).length > 0
Expand Down
3 changes: 1 addition & 2 deletions src/controllers/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,6 @@ const server = {
if(params.length==0){
return;
}
console.log(params);

params = encodeURIComponent(JSON.stringify(params));
let compressBeginLen = params.length;
Expand All @@ -978,7 +977,7 @@ const server = {
// }
_this.requestLock = true;
//console.log(params);
console.log("request");
// console.log("request");
if(_this.updateUrl != ""){
$.post(_this.updateUrl, { compress: iscommpress, gridKey: _this.gridKey, data: params }, function (data) {
let re = eval('('+ data +')')
Expand Down
2 changes: 1 addition & 1 deletion src/global/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -4750,7 +4750,7 @@ export function setSheetActive(order, options = {}) {
success();
}
}, 1);

server.multipleRangeShow()
return file;
}

Expand Down
4 changes: 2 additions & 2 deletions src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ const Store = {
},
changeCollaborationSize:[], //改变行高或者列宽时,协同提示框需要跟随改变所需数据
allDataColumnlen:[],//列宽发生过改变的列
checkoutData:[],//切换页所需的协同提示框数据
merge_range:[],//合并单元格所需数据
merge_range:{},//合并时单元格信息
checkoutData:[],//切换表格页时所需数据
}

}
Expand Down

0 comments on commit 0a5ca86

Please sign in to comment.