修改单词拼写错误

This commit is contained in:
RuoYi 2021-12-30 14:13:38 +08:00
parent d51e7cbb51
commit 530b2a51d5
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import request from '@/utils/request'
import { praseStrEmpty } from "@/utils/ruoyi";
import { parseStrEmpty } from "@/utils/ruoyi";
// 查询用户列表
export function listUser(query) {
@ -13,7 +13,7 @@ export function listUser(query) {
// 查询用户详细
export function getUser(userId) {
return request({
url: '/system/user/' + praseStrEmpty(userId),
url: '/system/user/' + parseStrEmpty(userId),
method: 'get'
})
}

View File

@ -108,7 +108,7 @@ export function sprintf(str) {
}
// 转换字符串undefined,null等转化为""
export function praseStrEmpty(str) {
export function parseStrEmpty(str) {
if (!str || str == "undefined" || str == "null") {
return "";
}