forked from github/dataease
feat(图表): 表格基础样式,边框颜色支持透明度配置
This commit is contained in:
parent
a3c7092c0d
commit
41217a142e
@ -845,8 +845,9 @@ onMounted(() => {
|
||||
:effect="themes"
|
||||
is-custom
|
||||
:trigger-width="108"
|
||||
color-format="hex"
|
||||
color-format="rgb"
|
||||
:predefine="predefineColors"
|
||||
show-alpha
|
||||
@change="changeBasicStyle('tableBorderColor')"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
@ -168,7 +168,7 @@ export function getCustomTheme(chart: Chart): S2Theme {
|
||||
const { basicStyle, tableHeader, tableCell } = customAttr
|
||||
// basic
|
||||
if (basicStyle) {
|
||||
const tableBorderColor = hexColorToRGBA(basicStyle.tableBorderColor, basicStyle.alpha)
|
||||
const tableBorderColor = basicStyle.tableBorderColor
|
||||
const tableScrollBarColor = basicStyle.tableScrollBarColor
|
||||
const tmpTheme: S2Theme = {
|
||||
splitLine: {
|
||||
|
Loading…
Reference in New Issue
Block a user