【Vue】How to group an icon with <el-select> ?
How to group an icon with <el-select> ?
I want to create element as below image by using <el-select>.
回答
I looked at the document.
Component does not support this usage, you need to expand their own.
For example:
<template> <div>
<el-button icon="close"></el-button>
<el-select v-model="value4" clearable placeholder="请选择">
<el-option v-for="item in options" :label="item.label" :value="item.value">
</el-option>
</el-select>
</div>
</template>
You need to expand the methods and styles of interaction
以上是 【Vue】How to group an icon with <el-select> ? 的全部内容, 来源链接: utcz.com/a/76446.html