源码
<template><!-- 查询条件--><div class="optimize-norm" v-loading="selectDataLoading"><el-form :model="queryParams" ref="queryRef" style="padding-bottom:8px" :inline="true"><el-form-item label="" prop="timeType"><el-button-group><el-buttonv-for="(item,index) in timeCollection":key="index"type="primary"plain:type="selectedItem === item ? 'primary' : 'default'":class="{ 'custom-selected': selectedItem === item }"