Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
3e1bd8e3
Commit
3e1bd8e3
authored
Jul 21, 2020
by
fungleo
Browse files
修复 utils/index.js 中不包含 parseTime 函数的 bug
parent
8a076e17
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/utils/index.js
View file @
3e1bd8e3
import
{
parseTime
}
from
'
./ruoyi
'
/**
/**
* 表格时间格式化
* 表格时间格式化
*/
*/
...
@@ -385,4 +387,4 @@ export function camelCase(str) {
...
@@ -385,4 +387,4 @@ export function camelCase(str) {
export
function
isNumberStr
(
str
)
{
export
function
isNumberStr
(
str
)
{
return
/^
[
+-
]?(
0|
([
1-9
]\d
*
))(\.\d
+
)?
$/g
.
test
(
str
)
return
/^
[
+-
]?(
0|
([
1-9
]\d
*
))(\.\d
+
)?
$/g
.
test
(
str
)
}
}
\ No newline at end of file
Write
Preview
Supports
Markdown
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