Abai的Blog

导航

04 2022 档案

点击按钮选中某个时间段
摘要:首先,给该按钮添加@click点击事件。<Button @click="today"> 今天</Button>然后,在该事件的方法中编写具体的逻辑处理代码 today () { this.getAllLogInfo()},(因为我这个页面本来进入后就是会默认传今天的时间参数来请求接口,所以我这里就直 阅读全文

posted @ 2022-04-27 11:30 Abai的Blog 阅读(107) 评论(0) 推荐(0)

PC端管理项目中支持多选和单选的下拉框写法区别
摘要:只能单选的下拉框: <div class="item carPlate"> <div class="label">车牌:</div> <Select v-model="params.carIds" filterable :max-tag-count="1"> <Option v-for="item 阅读全文

posted @ 2022-04-24 20:23 Abai的Blog 阅读(128) 评论(0) 推荐(0)