优化移动文档后跳转的文档链接

This commit is contained in:
zmister 2022-08-24 08:25:57 +08:00
parent 75098953e0
commit ea6f743648

View File

@ -541,7 +541,7 @@
$.post("{% url 'move_doc' %}",data,function(r){
layer.closeAll('loading')
if(r.status){
window.location.href = '/project-'+r.data.pro_id + '/doc-' + r.data.doc_id + '/'
window.location.href = '/doc/' + r.data.doc_id + '/'
}else{
layer.msg(r.data)
}