如何解决如何在类星体表上添加边框半径
我正在尝试创建具有这样标题的表
我尝试使用此代码,但是没有运气
<q-table binary-state-sort
table-header-class="text-white bg-44b2b8 rounded"
:data="this.$store.state.apiKeyList"
:columns="columns"
:filter="filter"
row-key="name"
flat
>
<template v-slot:top>
<q-input debounce="300" color="primary" v-model="filter">
<template v-slot:prepend>
<q-icon name="search" />
</template>
</q-input>
</template>
</q-table>
在CSS文件中:
.rounded {
border-radius: 10px 10px 0px 0px;
}
有什么线索可以实现标头四舍五入?
解决方法
将table-header-class
更改为rounded
类的类,就可以了
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。