Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
hmd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c9df44ff
authored
Jul 27, 2023
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复工具类问题
1 parent
9b3612e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
utils/format.js
utils/format.js
View file @
c9df44f
...
@@ -78,7 +78,8 @@ export function commentTime(dateTimeStamp) {
...
@@ -78,7 +78,8 @@ export function commentTime(dateTimeStamp) {
/**IOS时间兼容 */
/**IOS时间兼容 */
export
function
iosTimeFormat
(
time
)
{
export
function
iosTimeFormat
(
time
)
{
return
time
.
replace
(
/
\-
/g
,
'/'
)
if
(
!
time
)
return
''
return
typeof
time
!=
'string'
?
time
:
time
.
replace
(
/
\-
/g
,
'/'
)
}
}
/**获取时间段总时长 */
/**获取时间段总时长 */
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment