CN-1063: 人工测试--实体详情流量折线图和底下3个tab

This commit is contained in:
刘洪洪
2023-06-06 10:39:42 +08:00
parent cea7998fd9
commit 95d907cae7
6 changed files with 53 additions and 27 deletions

View File

@@ -1271,3 +1271,15 @@ export function copySelectionText () {
}
return copySuccess
}
/**
* 字符串首字母转大写
* @param str
* @returns {*}
*/
export function toUpperCaseByString (str) {
if (str) {
str = str.slice(0, 1).toUpperCase() + str.slice(1).toLowerCase()
}
return str
}