Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zjxcxServer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
zjxcxServer
Commits
215a002f
Commit
215a002f
authored
Feb 13, 2023
by
孙香冬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://123.207.147.179:8888/node_server/zjxcxServer
parents
a315a7fd
4f1c0b32
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
tools.ts
src/util/tools.ts
+1
-0
No files found.
src/util/tools.ts
View file @
215a002f
...
...
@@ -245,6 +245,7 @@ export function checkEnumValue(enumConf, value:any) {
* @returns string 返回字符串 如果传入多个枚举值,就拼接字符串
*/
export
function
changeEnumValue
(
enumConf
,
value
:
any
)
{
if
(
!
value
)
return
''
;
if
(
typeof
value
==
'number'
)
{
return
enumConf
[
value
];
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment