左边栏组件化,新增文档移动功能
This commit is contained in:
@@ -231,7 +231,7 @@ public class WikiPageController {
|
||||
@PostMapping("/move")
|
||||
public ResponseJson<Object> move(WikiPage wikiPage, String moveToPageId, String moveToSpaceId) {
|
||||
if (isLassoDoll(wikiPage,moveToPageId)){
|
||||
return DocResponseJson.warn("禁止无限套娃,不能移动自己到自己或自己的子节点下");
|
||||
return DocResponseJson.warn("不能移动自己到自己或自己的子节点下");
|
||||
}
|
||||
DocUserDetails currentUser = DocUserUtil.getCurrentUser();
|
||||
//获取原page信息
|
||||
@@ -259,7 +259,7 @@ public class WikiPageController {
|
||||
@PostMapping("/copy")
|
||||
public ResponseJson<Object> copy(WikiPage wikiPage, String moveToPageId, String moveToSpaceId) {
|
||||
if (isLassoDoll(wikiPage,moveToPageId)){
|
||||
return DocResponseJson.warn("禁止无限套娃,不能移动自己到自己或自己的子节点下");
|
||||
return DocResponseJson.warn("不能移动自己到自己或自己的子节点下");
|
||||
}
|
||||
DocUserDetails currentUser = DocUserUtil.getCurrentUser();
|
||||
//获取原page信息
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -5,11 +5,11 @@
|
||||
<link rel="icon" href="./wiki-logo.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>WIKI文档管理系统</title>
|
||||
<script type="module" crossorigin src="./assets/main-ab18a781.js"></script>
|
||||
<script type="module" crossorigin src="./assets/main-38b62da0.js"></script>
|
||||
<link rel="modulepreload" crossorigin href="./assets/highlight.js-1b0b64aa.js">
|
||||
<link rel="modulepreload" crossorigin href="./assets/vue-650a4d10.js">
|
||||
<link rel="modulepreload" crossorigin href="./assets/vendor-d51e6ee8.js">
|
||||
<link rel="modulepreload" crossorigin href="./assets/vant-a2f25ba3.js">
|
||||
<link rel="modulepreload" crossorigin href="./assets/vendor-312b3cf5.js">
|
||||
<link rel="modulepreload" crossorigin href="./assets/vant-6dbc81d6.js">
|
||||
<link rel="modulepreload" crossorigin href="./assets/wangeditor-564d5916.js">
|
||||
<link rel="stylesheet" href="./assets/style.13e54fdd.css">
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user