|
@ -20,6 +20,7 @@ import dayjs from "dayjs"; |
|
|
import json from '../global/json'; |
|
|
import json from '../global/json'; |
|
|
import luckysheetConfigsetting from './luckysheetConfigsetting'; |
|
|
import luckysheetConfigsetting from './luckysheetConfigsetting'; |
|
|
import {customImageUpdate} from './imageUpdateCtrl'; |
|
|
import {customImageUpdate} from './imageUpdateCtrl'; |
|
|
|
|
|
import method from '../global/method'; |
|
|
|
|
|
|
|
|
const server = { |
|
|
const server = { |
|
|
gridKey: null, |
|
|
gridKey: null, |
|
@ -199,6 +200,7 @@ const server = { |
|
|
_this.websocket.onmessage = function(result){ |
|
|
_this.websocket.onmessage = function(result){ |
|
|
Store.result = result |
|
|
Store.result = result |
|
|
let data = new Function("return " + result.data)(); |
|
|
let data = new Function("return " + result.data)(); |
|
|
|
|
|
method.createHookFunction('cooperativeMessage', data) |
|
|
console.info(data); |
|
|
console.info(data); |
|
|
let type = data.type; |
|
|
let type = data.type; |
|
|
let {message,id} = data; |
|
|
let {message,id} = data; |
|
|