Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
陈治元
zigg-sign-web-demo
Commits
ebbc415d
Commit
ebbc415d
authored
4 years ago
by
joe
Browse files
Options
Download
Email Patches
Plain Diff
add timestamp
parent
5e753045
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/utils/util.js
+3
-1
src/utils/util.js
with
3 additions
and
1 deletion
+3
-1
src/utils/util.js
View file @
ebbc415d
...
...
@@ -42,7 +42,9 @@ export const formatDate = function(d, format) {
}
export
const
getSignParams
=
s
=>
{
let
timestamp
=
Date
.
parse
(
new
Date
());
let
now
=
Date
.
parse
(
new
Date
());
s
[
"
timestamp
"
]
=
(
now
/
1000
).
toString
();
return
Object
.
assign
(
s
,
{
//timestamp: (timestamp / 1000).toString(),
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help