Merge branch 'gva_gormv2_dev' of https://github.com/flipped-aurora/gin-vue-admin into gva_gormv2_dev

This commit is contained in:
pixel
2020-12-09 16:30:17 +08:00
10 changed files with 106 additions and 39 deletions
+8
View File
@@ -7,6 +7,14 @@ export const toUpperCase = (str) => {
}
}
export const toLowerCase = (str) => {
if (str[0]) {
return str.replace(str[0], str[0].toLowerCase())
} else {
return ""
}
}
// 驼峰转换下划线
export const toSQLLine = (str) => {
if (str == "ID") return "ID"