添加协同编辑模块
This commit is contained in:
@@ -215,6 +215,22 @@
|
||||
async: false
|
||||
});
|
||||
},
|
||||
/**分享脑图*/
|
||||
open_bianji: function (mind_id) {
|
||||
const me = this
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "bianji",
|
||||
headers: {"X-CSRFToken": $.cookie("csrftoken")},
|
||||
data: {'id': mind_id},
|
||||
dataType: "json",
|
||||
success: function (resp) {
|
||||
me.show_share_url(`${resp.data.u}`, `${resp.data.h}`)
|
||||
},
|
||||
async: false
|
||||
});
|
||||
},
|
||||
|
||||
/**取消分享*/
|
||||
share_cancel: function (mind_id) {
|
||||
const me = this
|
||||
|
||||
Reference in New Issue
Block a user