下拉框不显示边框

<el-select v-model="timer"class="select_class">
   <el-option
      v-for="item in options"
      :key="item.value"
      :label="item.label"
      :value="item.value">
   </el-option>
</el-select>

 data() {
    return {
      timer: "2",
      options: [
        { label: "", value: "1" },
        { label: "", value: "2" },
        { label: "", value: "3" }
      ]
    };
  },

<style lang="scss" scoped>
.echarts_class {
  display: flex;
  justify-content: space-between;
  .select_class {
    border: none;
    .el-input--medium .el-input__inner {
      border: none; // 隐藏selsec边框
    }
  }
}

折线图数据渲染,点我主页

 

posted @ 2021-08-04 15:35  挽你手  阅读(406)  评论(0编辑  收藏  举报