forked from github/dataease
Merge pull request #8276 from dataease/pr@dev@refactor_table
refactor(仪表板): 修改表格类组件放大显示字体等样式与明细放大保持一致
This commit is contained in:
commit
254a280d7c
@ -508,24 +508,25 @@ export default {
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
mainHeight: {
|
||||
handler(newVal, oldVla) {
|
||||
this.$nextTick(() => {
|
||||
this.reloadWatermark()
|
||||
})
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
canvasInfoTempStyle: {
|
||||
handler(newVal, oldVla) {
|
||||
const _this = this
|
||||
_this.$nextTick(() => {
|
||||
if (_this.screenShotStatues) {
|
||||
_this.initWatermark('preview-temp-canvas-main')
|
||||
} else {
|
||||
_this.initWatermark()
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.reloadWatermark()
|
||||
})
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
screenShotStatues: {
|
||||
handler(newVal, oldVla) {
|
||||
if (this.screenShotStatues) {
|
||||
this.initWatermark('preview-temp-canvas-main')
|
||||
}
|
||||
this.reloadWatermark()
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -564,6 +565,13 @@ export default {
|
||||
bus.$off('trigger-reset-button', this.triggerResetButton)
|
||||
},
|
||||
methods: {
|
||||
reloadWatermark() {
|
||||
if (this.screenShotStatues) {
|
||||
this.initWatermark('preview-temp-canvas-main')
|
||||
} else {
|
||||
this.initWatermark()
|
||||
}
|
||||
},
|
||||
filterLoaded(p) {
|
||||
buildAfterFilterLoaded(this.filterMap, p)
|
||||
this.filterMapCache = {}
|
||||
|
@ -1114,9 +1114,9 @@ export default {
|
||||
tableChart.customAttr.color.tableFontColor = '#7c7e81'
|
||||
tableChart.customAttr.color.enableTableCrossBG = false
|
||||
tableChart.customAttr.size.showTableHeader = true
|
||||
tableChart.customAttr.size.tableTitleFontSize = 14
|
||||
tableChart.customAttr.size.tableItemFontSize = 14
|
||||
}
|
||||
tableChart.customAttr.size.tableTitleFontSize = 14
|
||||
tableChart.customAttr.size.tableItemFontSize = 14
|
||||
tableChart.customAttr.size.tableColumnFreezeHead = 0
|
||||
tableChart.customAttr.size.tableRowFreezeHead = 0
|
||||
tableChart.customAttr.color.tableStripe = true
|
||||
|
Loading…
Reference in New Issue
Block a user