修改
This commit is contained in:
@@ -5,13 +5,10 @@
|
|||||||
<!-- <link rel="stylesheet" type="text/css" href="static/semanticui/semantic.css"> -->
|
<!-- <link rel="stylesheet" type="text/css" href="static/semanticui/semantic.css"> -->
|
||||||
<!-- <script src="static/jquery/jquery-3.4.1.min.js"></script> -->
|
<!-- <script src="static/jquery/jquery-3.4.1.min.js"></script> -->
|
||||||
<!-- <script src="static/semanticui/semantic.min.js"></script> -->
|
<!-- <script src="static/semanticui/semantic.min.js"></script> -->
|
||||||
|
|
||||||
<!-- default header name is X-CSRF-TOKEN -->
|
<!-- default header name is X-CSRF-TOKEN -->
|
||||||
<meta name="_csrf" content="${_csrf.token}"/>
|
<meta name="_csrf" content="${_csrf.token}"/>
|
||||||
<meta name="_csrf_header" content="${_csrf.headerName}"/>
|
<meta name="_csrf_header" content="${_csrf.headerName}"/>
|
||||||
|
|
||||||
<#include "comm/commjs.ftl"/>
|
<#include "comm/commjs.ftl"/>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="ui container" id="container">
|
<div class="ui container" id="container">
|
||||||
@@ -35,7 +32,6 @@
|
|||||||
<button class="ui teal button" onclick="onNewtags()">新增标签</button>
|
<button class="ui teal button" onclick="onNewtags()">新增标签</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label>内容</label>
|
<label>内容</label>
|
||||||
<textarea id="discussionsContent"></textarea>
|
<textarea id="discussionsContent"></textarea>
|
||||||
@@ -70,6 +66,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//点击事件
|
||||||
$("#newDiscussions").click(function () {
|
$("#newDiscussions").click(function () {
|
||||||
|
|
||||||
var token = $("meta[name='_csrf']").attr("content");
|
var token = $("meta[name='_csrf']").attr("content");
|
||||||
@@ -114,8 +111,6 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user