mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 12:32:25 +00:00
typo修复,正则字符串修复
This commit is contained in:
@@ -455,7 +455,7 @@ const sortChange = ({ prop, order }) => {
|
||||
|
||||
let sort = sortMap[prop]
|
||||
if(!sort){
|
||||
sort = prop.replace(/[A-Z]/g, match => _${match.toLowerCase()})
|
||||
sort = prop.replace(/[A-Z]/g, match => `_${match.toLowerCase()}`)
|
||||
}
|
||||
|
||||
searchInfo.value.sort = sort
|
||||
|
||||
Reference in New Issue
Block a user