Commit
f1f0206c70d1a16ee4f7abdd786162cc10bec454
Authored by
Aresn
fixed Date bug
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 { |
...
|
...
|
|
...
|
...
|
@@ -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
|
}, |
...
|
...
|
|