mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: 启用表格主题未应用当前主题色
This commit is contained in:
parent
fb6ed86228
commit
f7d802ab97
@ -216,6 +216,7 @@ export default defineComponent({
|
|||||||
const store = useStore()
|
const store = useStore()
|
||||||
const handleElement = computed<PPTTableElement>(() => store.getters.handleElement)
|
const handleElement = computed<PPTTableElement>(() => store.getters.handleElement)
|
||||||
const selectedCells = computed(() => store.state.selectedTableCells)
|
const selectedCells = computed(() => store.state.selectedTableCells)
|
||||||
|
const themeColor = computed(() => store.state.theme.themeColor)
|
||||||
|
|
||||||
const availableFonts = computed(() => store.state.availableFonts)
|
const availableFonts = computed(() => store.state.availableFonts)
|
||||||
const fontSizeOptions = [
|
const fontSizeOptions = [
|
||||||
@ -335,7 +336,7 @@ export default defineComponent({
|
|||||||
if (checked) {
|
if (checked) {
|
||||||
const props = {
|
const props = {
|
||||||
theme: {
|
theme: {
|
||||||
color: '#d14424',
|
color: themeColor.value,
|
||||||
rowHeader: true,
|
rowHeader: true,
|
||||||
rowFooter: false,
|
rowFooter: false,
|
||||||
colHeader: false,
|
colHeader: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user