|
@@ -103,7 +103,7 @@ export default {
|
|
|
leave(e) {
|
|
|
this.clearableStaus(false);
|
|
|
},
|
|
|
- //验证清空按钮
|
|
|
+ //验证清空按钮
|
|
|
clearableStaus(isstatus) {
|
|
|
if (isstatus !== undefined) {
|
|
|
if (isstatus && !!this.ValueStart && !!this.ValueEnd) {
|
|
@@ -121,8 +121,8 @@ export default {
|
|
|
},
|
|
|
//清除回调input焦点事件
|
|
|
clearValue() {
|
|
|
- this.query[this.inputValueStart] = '';
|
|
|
- this.query[this.inputValueEnd] = '';
|
|
|
+ this.query[this.inputValueStart] = null;
|
|
|
+ this.query[this.inputValueEnd] = null;
|
|
|
this.clearables = false;
|
|
|
this.$refs.startInput.focus();
|
|
|
},
|
|
@@ -159,6 +159,9 @@ export default {
|
|
|
position: relative;
|
|
|
margin-right: 20px;
|
|
|
top: 2px;
|
|
|
+ input {
|
|
|
+ color: #606266;
|
|
|
+ }
|
|
|
&.focus {
|
|
|
border-color: $mainTextColor;
|
|
|
}
|