添加协同编辑模块

This commit is contained in:
2024-04-03 17:56:15 +08:00
parent e650f1449c
commit 904c07118b
5 changed files with 62 additions and 2 deletions
+16
View File
@@ -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