疯狂的狮子li
2020-08-10 4044ed23eafc9d8c8c7b5e82b2b7107cc32345b5
Merge branch 'master' of https://gitee.com/y_project/RuoYi-Vue

 Conflicts:
 ruoyi-generator/src/main/java/com/ruoyi/generator/util/GenUtils.java
 ruoyi-ui/src/components/Editor/index.vue
已修改2个文件
8 ■■■■ 文件已修改
ruoyi-generator/src/main/java/com/ruoyi/generator/util/GenUtils.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-ui/src/components/Editor/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-generator/src/main/java/com/ruoyi/generator/util/GenUtils.java
@@ -147,10 +147,10 @@
     */
    public static String getBusinessName(String tableName)
    {
        int lastIndex = tableName.indexOf("_");
        int lastIndex = tableName.lastIndexOf("_");
        int nameLength = tableName.length();
        String businessName = StringUtils.substring(tableName, lastIndex + 1, nameLength);
        return StringUtils.toCamelCase(businessName);
        return businessName;
    }
    /**
@@ -195,7 +195,7 @@
    /**
     * 关键字替换
     * 
     * @param name 需要被替换的名字
     * @param text 需要被替换的名字
     * @return 替换后的名字
     */
    public static String replaceText(String text)
ruoyi-ui/src/components/Editor/index.vue
@@ -66,7 +66,6 @@
      content: this.value,
      uploadImgUrl: "",
      editorOption: {
        placeholder: "",
        theme: "snow", // or 'bubble'
        placeholder: "请输入内容",
        modules: {
@@ -146,6 +145,7 @@
<style>
.editor {
  white-space: pre-wrap!important;
  line-height: normal !important;
  height: 192px;
}