Skip to content

Commit

Permalink
mindoc-org#758 优化wangEditor编辑界面的返回按钮跳转
Browse files Browse the repository at this point in the history
之前wangEditor编辑界面的返回按钮,会通过打开新标签页,返回至【项目概要界面】http://127.0.0.1:8181/book/aa/dashboard(不合理,多打开几次,就很多标签页了)
修改为
在当前标签页返回至http://127.0.0.1:8181/book/aa/
  • Loading branch information
Amwsup authored Dec 28, 2021
1 parent 50888fb commit eae4e7e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions views/document/html_edit_template.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@
<div class="manual-nav">
<div class="nav-item active"><i class="fa fa-bars" aria-hidden="true"></i> 文档</div>
<div class="nav-plus pull-right" data-toggle="tooltip" data-title="返回" data-direction="right">
<a style="color: #999999;" href="{{urlfor "BookController.Dashboard" ":key" .Model.Identify}}" target="_blank"><i class="fa fa-chevron-left" aria-hidden="true"></i></a>
<!--a style="color: #999999;" href="{{urlfor "BookController.Dashboard" ":key" .Model.Identify}}" target="_blank"><i class="fa fa-chevron-left" aria-hidden="true"></i></a-->
<a style="color: #999999;" href="{{urlfor "DocumentController.Index" ":key" .Model.Identify}}"><i class="fa fa-chevron-left" aria-hidden="true"></i></a>
</div>
<div class="nav-plus pull-right" id="btnAddDocument" data-toggle="tooltip" data-title="创建文档" data-direction="right"><i class="fa fa-plus" aria-hidden="true"></i></div>
<div class="clearfix"></div>
Expand Down Expand Up @@ -289,4 +290,4 @@
});
</script>
</body>
</html>
</html>

0 comments on commit eae4e7e

Please sign in to comment.