Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
ec-report-refactor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lihuizhen
ec-report-refactor
Commits
c4cfc5c5
Commit
c4cfc5c5
authored
Dec 07, 2022
by
Jenny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 日期组件修改
parent
8035ef41
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
DatePicker.vue
components/DatePicker/DatePicker.vue
+3
-2
No files found.
components/DatePicker/DatePicker.vue
View file @
c4cfc5c5
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
<u-input
<u-input
style=
"width:100%"
style=
"width:100%"
placeholder=
"请输入日期"
placeholder=
"请输入日期"
input-align=
"center"
v-model=
"pickerValue"
v-model=
"pickerValue"
type=
"select"
type=
"select"
:select-open=
"show"
:select-open=
"show"
...
@@ -57,7 +56,9 @@
...
@@ -57,7 +56,9 @@
};
};
},
},
mounted
()
{
mounted
()
{
this
.
pickerValue
=
this
.
dateTimeFormat
(
this
.
elementInfo
.
option
.
dateTime
.
date
)
let
{
date
}
=
this
.
elementInfo
.
option
.
dateTime
if
(
!
date
)
date
=
new
Date
()
this
.
pickerValue
=
this
.
dateTimeFormat
(
date
)
},
},
methods
:
{
methods
:
{
timeConfirm
(
e
){
timeConfirm
(
e
){
...
...
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