提交 7ffb2209 authored 作者: wangjiahao's avatar wangjiahao

Merge remote-tracking branch 'origin/main' into main

...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
:placeholder="$t('chart.title')" :placeholder="$t('chart.title')"
clearable clearable
@blur="changeTitleStyle" @blur="changeTitleStyle"
@input="inputOnInput($event)"
/> />
</el-form-item> </el-form-item>
<el-form-item :label="$t('chart.text_fontsize')" class="form-item"> <el-form-item :label="$t('chart.text_fontsize')" class="form-item">
...@@ -124,6 +125,9 @@ export default { ...@@ -124,6 +125,9 @@ export default {
this.isSetting = false this.isSetting = false
} }
this.$emit('onTextChange', this.titleForm) this.$emit('onTextChange', this.titleForm)
},
inputOnInput: function(e) {
this.$forceUpdate()
} }
} }
} }
......
...@@ -202,6 +202,7 @@ ...@@ -202,6 +202,7 @@
:show-close="false" :show-close="false"
width="70%" width="70%"
class="dialog-css" class="dialog-css"
:destroy-on-close="true"
> >
<el-row style="width: 400px;"> <el-row style="width: 400px;">
<el-form ref="form" :model="table" label-width="80px" size="mini" class="form-item"> <el-form ref="form" :model="table" label-width="80px" size="mini" class="form-item">
...@@ -544,6 +545,7 @@ export default { ...@@ -544,6 +545,7 @@ export default {
selectTable() { selectTable() {
this.selectTableFlag = true this.selectTableFlag = true
this.chartName = this.$t('chart.chartName')
}, },
closeCreateChart() { closeCreateChart() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论