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

Commit

Permalink
fix(fix #212): cancel highlight
Browse files Browse the repository at this point in the history
user logout cancel highlight
  • Loading branch information
renxxing committed Nov 20, 2020
1 parent ef57f60 commit 289d3ef
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/controllers/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ const server = {
let data = eval('(' + result.data + ')');
console.info(data);
let type = data.type;

let {message,id} = data;
// 用户退出时,关闭协同编辑时其提示框
if(message === '用户退出') {
$("#luckysheet-multipleRange-show-" + id).hide();
}
if(type == 1){ //send 成功或失败

}
Expand Down
7 changes: 7 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@
lang: lang,
forceCalculation:false,
plugins: ['chart'],
allowUpdate:true,
updateImageUrl:"http://luckysheet.lashuju.com/luckysheet/api/updateImg",
//updateUrl: "ws://127.0.0.1:85/dataqk/websocket/qksheet",
updateUrl: "ws://luckysheet.lashuju.com/luckysheet/websocket/qksheet",
"gridKey": "1079500#-8803#7c45f52b7d01486d88bc53cb17dcd2c3",
loadUrl: "http://luckysheet.lashuju.com/luckysheet/api/load",
loadSheetUrl:"http://luckysheet.lashuju.com/luckysheet/api/loadsheet",
fontList:[
{
"fontName":"HanaleiFill",
Expand Down

0 comments on commit 289d3ef

Please sign in to comment.