u
This commit is contained in:
@@ -64,6 +64,7 @@
|
||||
coop_api_url: 'jsmind_op',
|
||||
coop_ws_url: `ws://${window.location.host}/ws/jsmind/`,
|
||||
coop_mind_id: this.coop_mind_id,
|
||||
coop_mind_log_id: this.coop_mind_log_id,
|
||||
menuOpts: {
|
||||
showMenu: true,
|
||||
injectionList: [
|
||||
|
||||
@@ -65,6 +65,8 @@
|
||||
this.coop_mind_id = _jm.options.coop_mind_id
|
||||
this.coop_mind_log_id = _jm.options.coop_mind_log_id
|
||||
this.coop_mind_log_last_id = _jm.options.coop_mind_log_id
|
||||
|
||||
console.log(this.coop_mind_log_id)
|
||||
},
|
||||
// 初始化websocket
|
||||
_init_ws: function () {
|
||||
@@ -96,7 +98,9 @@
|
||||
},
|
||||
// 获得一次日志
|
||||
fetch_log: function () {
|
||||
|
||||
Jm.util.ajax.get(`${this.coop_api_url}?coop_mind_id=${this.coop_mind_id}&cooperation_mind_log_id=${this.coop_mind_log_id}`, function (resp) {
|
||||
console.log(resp)
|
||||
})
|
||||
},
|
||||
// 清理定时任务
|
||||
clear_timer: function () {
|
||||
|
||||
Reference in New Issue
Block a user