Commit 23be040a by xinla

tag-ellipsis css

1 parent 50660cea
...@@ -42,8 +42,9 @@ export default { ...@@ -42,8 +42,9 @@ export default {
</template> </template>
<el-popover v-else placement="bottom" trigger="hover"> <el-popover v-else placement="bottom" trigger="hover">
<div class="tag-all"> <!-- 插入到body,这里用css scoped calss无效,需使用style-->
<el-tag v-for="(item, unique) in _list" :key="unique"> <div class="tag-all" style="display: flex; flex-wrap: wrap; gap: 10px">
<el-tag v-for="(item, unique) in _list" :key="unique" style="margin: 0">
{{ item[defaultProps] || item }} {{ item[defaultProps] || item }}
</el-tag> </el-tag>
</div> </div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!