Conflicts:
	ruoyi-generator/src/main/java/com/ruoyi/generator/util/GenUtils.java
	ruoyi-ui/src/components/Editor/index.vue
This commit is contained in:
疯狂的狮子li 2020-08-10 09:38:28 +08:00
commit 4044ed23ea
2 changed files with 4 additions and 4 deletions

View File

@ -147,10 +147,10 @@ public class GenUtils
*/ */
public static String getBusinessName(String tableName) public static String getBusinessName(String tableName)
{ {
int lastIndex = tableName.indexOf("_"); int lastIndex = tableName.lastIndexOf("_");
int nameLength = tableName.length(); int nameLength = tableName.length();
String businessName = StringUtils.substring(tableName, lastIndex + 1, nameLength); String businessName = StringUtils.substring(tableName, lastIndex + 1, nameLength);
return StringUtils.toCamelCase(businessName); return businessName;
} }
/** /**
@ -195,7 +195,7 @@ public class GenUtils
/** /**
* 关键字替换 * 关键字替换
* *
* @param name 需要被替换的名字 * @param text 需要被替换的名字
* @return 替换后的名字 * @return 替换后的名字
*/ */
public static String replaceText(String text) public static String replaceText(String text)

View File

@ -66,7 +66,6 @@ export default {
content: this.value, content: this.value,
uploadImgUrl: "", uploadImgUrl: "",
editorOption: { editorOption: {
placeholder: "",
theme: "snow", // or 'bubble' theme: "snow", // or 'bubble'
placeholder: "请输入内容", placeholder: "请输入内容",
modules: { modules: {
@ -146,6 +145,7 @@ export default {
<style> <style>
.editor { .editor {
white-space: pre-wrap!important;
line-height: normal !important; line-height: normal !important;
height: 192px; height: 192px;
} }