chenhaodong
/
mew-iview
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
f1f0206c70d1a16ee4f7abdd786162cc10bec454
Authored by
Aresn
2017-06-07 10:49:15 +0800
1 parent
9c83f0e5
fixed Date bug
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
examples/routers/date.vue
src/components/date-picker/picker.vue
Inline
Side-by-side
examples/routers/date.vue
Wrap text
Show/Hide comments
View file @
f1f0206
1
1
<template>
2
- <Date-picker type="daterange" placeholder="选择日期"
style="width: 200px"></Date-picker>
2
+ <Date-picker type="daterange" placeholder="选择日期"
disabled
style="width: 200px"></Date-picker>
3
3
</template>
4
4
<script>
5
5
export default {
...
...
src/components/date-picker/picker.vue
Wrap text
Show/Hide comments
View file @
f1f0206
...
...
@@ -362,7 +362,7 @@
362
362
handleIconClick () {
363
363
if (this.showClose) {
364
364
this.handleClear();
365
- } else
{
365
+ } else
if (!this.disabled)
{
366
366
this.handleFocus();
367
367
}
368
368
},
...
...