Browse Source

富文本工具栏样式对齐

RuoYi 4 years ago
parent
commit
fc48704057
2 changed files with 2 additions and 2 deletions
  1. 1 1
      ruoyi-ui/src/components/Editor/index.vue
  2. 1 1
      ruoyi-ui/src/router/index.js

+ 1 - 1
ruoyi-ui/src/components/Editor/index.vue

@@ -114,7 +114,7 @@ export default {
 </script>
 
 <style>
-.editor {
+.editor, .ql-toolbar {
   white-space: pre-wrap!important;
   line-height: normal !important;
 }

+ 1 - 1
ruoyi-ui/src/router/index.js

@@ -19,7 +19,7 @@ import Layout from '@/layout'
  * meta : {
     roles: ['admin','editor']    // 设置该路由进入的权限,支持多个权限叠加
     title: 'title'               // 设置该路由在侧边栏和面包屑中展示的名字
-    icon: 'svg-name'             // 设置该路由的图标,对应路径src/icons/svg
+    icon: 'svg-name'             // 设置该路由的图标,对应路径src/assets/icons/svg
     breadcrumb: false            // 如果设置为false,则不会在breadcrumb面包屑中显示
   }
  */