Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
0c48e395
Commit
0c48e395
authored
Aug 20, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
banner编辑时间格式转换
parent
b83b9abb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/pages/message-management/banner/banner-detail.vue
src/pages/message-management/banner/banner-detail.vue
+3
-2
No files found.
src/pages/message-management/banner/banner-detail.vue
View file @
0c48e395
...
...
@@ -158,6 +158,7 @@ export default {
}
};
var
validatedown
=
(
rule
,
value
,
callback
)
=>
{
console
.
log
(
value
);
if
(
value
===
''
)
{
callback
(
new
Error
(
'
请选择下架时间
'
));
}
else
if
(
value
.
getTime
()
<=
this
.
detail
.
up_time
.
getTime
())
{
...
...
@@ -301,8 +302,8 @@ var validatedown = (rule, value, callback) => {
state
:
detail
.
state
,
url
:
detail
.
url
,
rank
:
detail
.
ordid
,
up_time
:
detail
.
up_time
,
down_time
:
detail
.
down_time
,
up_time
:
new
Date
(
detail
.
up_time
)
,
down_time
:
new
Date
(
detail
.
down_time
)
,
fileList
:
detail
.
image_url
,
size
:
detail
.
image_size
,
id
:
detail
.
serial_num
,
...
...
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