Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
王涛
4 years ago
Commit
3317f7e49004d2966d168db0dcd06d00b63e4180
2 parents
56e11c6e
35f2f1f4
Merge branch 'wuhl-master' into 'master'
Wuhl master See merge request
!10
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/dp/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/views/dp/index.js
View file @
3317f7e
...
...
@@ -82,7 +82,7 @@ export default {
var
that
=
this
// 获取当前系统时间
var
myDate
=
new
Date
();
that
.
dateTime
=
myDate
.
getFullYear
()
+
'-'
+
that
.
timeFormat
(
myDate
.
getMonth
()
+
1
+
''
)
+
'-'
+
that
.
timeFormat
(
myDate
.
getDate
()
+
''
)
+
' '
+
that
.
timeFormat
(
myDate
.
getHours
()
+
''
)
+
':'
+
that
.
timeFormat
(
myDate
.
getMinutes
()
+
''
)
+
':'
+
that
.
timeFormat
(
myDate
.
getSeconds
()
+
''
);
that
.
dateTime
=
myDate
.
getFullYear
()
+
'-'
+
that
.
timeFormat
(
myDate
.
getMonth
()
+
1
+
''
)
+
'-'
+
that
.
timeFormat
(
myDate
.
getDate
()
+
''
)
//
+ ' ' + that.timeFormat(myDate.getHours() + '') + ':' + that.timeFormat(myDate.getMinutes() + '') + ':' + that.timeFormat(myDate.getSeconds() + '');
window
.
addEventListener
(
'resize'
,
this
.
screenAdapter
)
this
.
screenAdapter
()
...
...
Please
register
or
login
to post a comment