update
This commit is contained in:
@@ -178,10 +178,9 @@
|
||||
data: {'id': mind_id},
|
||||
dataType: "json",
|
||||
success: function (resp) {
|
||||
console.log(resp)
|
||||
console.log()
|
||||
const url = `jp?u=${resp.data.u}&h=${resp.data.h}`
|
||||
window.open(url)
|
||||
$('#share_mind_modal .modal-body').html(`分享成功,请复制以下链接进行分享:<div>${window.location.protocol}//${window.location.host}/${url}</div>`)
|
||||
$('#share_mind_modal_a').click()
|
||||
},
|
||||
async: false
|
||||
});
|
||||
@@ -358,7 +357,7 @@
|
||||
$.cookie('open_aft_create', checked, {expires: 7, path: '/'});
|
||||
})
|
||||
|
||||
/** modal 显示完毕后事件*/
|
||||
/** 创建导图modal 显示完毕后事件*/
|
||||
$('#newMindModal').on('shown.bs.modal', function () {
|
||||
const cookie_checked_ = $.cookie('open_aft_create')
|
||||
$('#mindName').val('')
|
||||
@@ -398,6 +397,7 @@
|
||||
<li class="nav-item text-nowrap">
|
||||
<a id="login_register" class="nav-link" href="#" data-toggle="modal" data-target="#exampleModal">登录/注册</a>
|
||||
<a id="logout_a" class="nav-link" href="javascript:void(0)" onclick="mind.logout_()" style="display: none;">注销</a>
|
||||
<a id="share_mind_modal_a" class="nav-link" href="#" data-toggle="modal" data-target="#share_mind_modal" style="display: none;"></a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user