style
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
const fetch = function () {
|
||||
this.jm = null
|
||||
this.coop_mind_id = null
|
||||
this.coop_mind_log_id = null
|
||||
}
|
||||
// prototype
|
||||
fetch.prototype = {
|
||||
@@ -37,13 +38,14 @@
|
||||
loadMind: function () {
|
||||
// 打开已有脑图1、查询数据,组装option 2、实例化jm、show
|
||||
let id = {{ id }};
|
||||
this.coop_mind_id = id
|
||||
const me = this
|
||||
$.get('list?id=' + id, function (resp) {
|
||||
// reset
|
||||
me.destroy_coop_timer_if_necessary()
|
||||
// show
|
||||
let data = resp.data.snapshot_data
|
||||
me.coop_mind_id = id
|
||||
me.coop_mind_log_id = resp.data.snapshot_log_id
|
||||
me.show_mind(resp.data.coop_mind_name, JSON.parse(data))
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user