mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-26 03:21:49 +08:00
1、实现文章阅读、附件功能
2、实现与关联项目同步功能 3、实现附件删除功能
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
window.fileUploadURL = "";
|
||||
window.blogId = {{.Model.BlogId}};
|
||||
window.blogVersion = {{.Model.Version}};
|
||||
window.removeAttachURL = "{{urlfor "DocumentController.RemoveAttachment"}}";
|
||||
window.removeAttachURL = "{{urlfor "BlogController.RemoveAttachment" ":id" .Model.BlogId}}";
|
||||
</script>
|
||||
<!-- Bootstrap -->
|
||||
<link href="{{cdncss "/static/bootstrap/css/bootstrap.min.css"}}" rel="stylesheet">
|
||||
@@ -223,7 +223,7 @@
|
||||
<script src="{{cdnjs "/static/js/blog.js"}}" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
|
||||
window.vueApp.lists = {{.AttachList}};
|
||||
$("#attachInfo").on("click",function () {
|
||||
$("#uploadAttachModal").modal("show");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user