This commit is contained in:
ln1778 2024-08-23 17:20:23 +08:00
parent 4845378029
commit c542ebecd0
2 changed files with 5 additions and 4 deletions

View File

@ -36,7 +36,7 @@ export default {
width: "160px", width: "160px",
dateArr: null||[], dateArr: null||[],
date_picker: false, date_picker: false,
mousetrue: true, mousetrue: false,
}; };
}, },
computed: { computed: {
@ -193,7 +193,8 @@ export default {
}); });
}, },
iconClass() { iconClass() {
return this.date_picker && this.mousetrue
return this.mousetrue
? "ag-icon-prefix-hide" ? "ag-icon-prefix-hide"
: "ag-icon-prefix-show"; : "ag-icon-prefix-show";
}, },

View File

@ -2,7 +2,7 @@
<div> <div>
<el-button type="success" @click="abb = true">点击打开 Dialog</el-button> <el-button type="success" @click="abb = true">点击打开 Dialog</el-button>
<ag-dialog :visible.sync="abb"> </ag-dialog> <ag-dialog :visible.sync="abb"> </ag-dialog>
<ag-datePicker v-model="date_value" :showTime="true" :range="false" @change="onPicker"> <ag-datePicker v-model="date_value" :showTime="true" :range="true" @change="onPicker">
</ag-datePicker> </ag-datePicker>
<ag-input value="value"> </ag-input> <ag-input value="value"> </ag-input>
<ag-select :options="a_options" v-model="value"> <ag-select :options="a_options" v-model="value">