diff --git a/ruoyi-ui/src/api/cms/editor.js b/ruoyi-ui/src/api/cms/editor.js index bad3fd0..0a71101 100644 --- a/ruoyi-ui/src/api/cms/editor.js +++ b/ruoyi-ui/src/api/cms/editor.js @@ -3,7 +3,7 @@ import request from "@/utils/request"; export function getLeavesCategoryList() { return request({ - url: '/ueditor/leavesCategoryList', + url: '/ueditor/getLeavesCategoryTree', method: 'get' }) } diff --git a/ruoyi-ui/src/views/cms/editor/index.vue b/ruoyi-ui/src/views/cms/editor/index.vue index 417fd76..79a43f0 100644 --- a/ruoyi-ui/src/views/cms/editor/index.vue +++ b/ruoyi-ui/src/views/cms/editor/index.vue @@ -16,21 +16,21 @@ - - - - + + + show-word-limit + > @@ -38,31 +38,32 @@ v-model="form.sortNum" :active-value="1" :inactive-value="0" - > + > - - - - - - - - - - - - + + + + + + + + + + + +
+ show-word-limit + >
@@ -72,13 +73,14 @@ type="textarea" v-model="form.summary" maxlength="360" - show-word-limit> + show-word-limit + > - - - + + +
@@ -97,32 +99,34 @@ + @change="handleChange" + >
-
+
+ show-word-limit + >
- - - - - - - - - - - - - + + + + + + + + + + + + + @@ -132,19 +136,19 @@ -
+
- - - - - - + + + + + + @@ -156,13 +160,13 @@