Merge pull request #3171 from dataease/pr@dev@fix_text-component
fix(仪表板): 优化文字组件修改字号时数字变动异常 #3099
This commit is contained in:
commit
e14850e688
@ -218,7 +218,7 @@ export default {
|
||||
innerOpacity: 0,
|
||||
mainWidthOffset: 600,
|
||||
initFontSize: 12,
|
||||
miniFontSize: 12,
|
||||
miniFontSize: 0,
|
||||
maxFontSize: 128,
|
||||
textAlignOptions: [
|
||||
{
|
||||
|
||||
@ -194,8 +194,8 @@ export default {
|
||||
if (this.editStatus&&this.canEdit===false) {
|
||||
this.canEdit = true
|
||||
this.element['editing'] = true
|
||||
this.reShow()
|
||||
this.myValue = this.element.propValue.textValue
|
||||
this.reShow()
|
||||
}
|
||||
},
|
||||
reShow() {
|
||||
|
||||
@ -362,8 +362,10 @@ export default {
|
||||
const checkAllAxisStr = chartDetails.xaxis + chartDetails.xaxisExt + chartDetails.yaxis + chartDetails.yaxisExt + chartDetails.drillFields
|
||||
let checkJumpStr
|
||||
if (chartDetails.type === 'table-pivot') {
|
||||
checkJumpStr = chartDetails.yaxis + chartDetails.yaxisExt
|
||||
} else {
|
||||
checkJumpStr = chartDetails.yaxis + chartDetails.yaxisExt + chartDetails.drillFields
|
||||
}else if(chartDetails.type === 'table-info') {
|
||||
checkJumpStr = chartDetails.xaxis + chartDetails.drillFields
|
||||
}else {
|
||||
checkJumpStr = checkAllAxisStr
|
||||
}
|
||||
// 获取可关联的仪表板
|
||||
|
||||
Loading…
Reference in New Issue
Block a user