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