forked from github/dataease
Merge pull request #3571 from dataease/pr@dev@fix_chart_title
fix(视图): 修复标题不能调整位置的问题
This commit is contained in:
commit
07aa1f319a
@ -18,11 +18,11 @@
|
||||
:style="title_class"
|
||||
style="cursor: default;display: block;"
|
||||
>
|
||||
<div style="padding:6px 4px 0;margin: 0;display: flex;">
|
||||
<div style="padding:6px 4px 0;margin: 0;">
|
||||
<chart-title-update :chart-info="chartInfo" />
|
||||
<title-remark
|
||||
v-if="remarkCfg.show"
|
||||
style="text-shadow: none!important;"
|
||||
style="text-shadow: none!important;margin-left: 4px;"
|
||||
:remark-cfg="remarkCfg"
|
||||
/>
|
||||
</div>
|
||||
|
@ -18,11 +18,11 @@
|
||||
:style="title_class"
|
||||
style="cursor: default;display: block;"
|
||||
>
|
||||
<div style="padding:6px 4px 0;margin: 0;display: flex;">
|
||||
<div style="padding:6px 4px 0;margin: 0;">
|
||||
<chart-title-update :chart-info="chartInfo" />
|
||||
<title-remark
|
||||
v-if="remarkCfg.show"
|
||||
style="text-shadow: none!important;"
|
||||
style="text-shadow: none!important;margin-left: 4px;"
|
||||
:remark-cfg="remarkCfg"
|
||||
/>
|
||||
</div>
|
||||
|
@ -11,7 +11,7 @@
|
||||
/>
|
||||
<p
|
||||
v-else
|
||||
style="overflow: hidden;white-space: pre;text-overflow: ellipsis;display: inline-block;min-width: 30px"
|
||||
style="overflow: hidden;white-space: pre;text-overflow: ellipsis;display: inline;min-width: 30px"
|
||||
@click.stop="handleTitleEditer"
|
||||
>{{ chart.title }}</p>
|
||||
</template>
|
||||
|
@ -12,10 +12,10 @@
|
||||
:label="$t('chart.show')"
|
||||
class="form-item"
|
||||
>
|
||||
<el-switch
|
||||
<el-checkbox
|
||||
v-model="titleForm.show"
|
||||
@change="changeTitleStyle('show')"
|
||||
/>
|
||||
>{{ $t('chart.show') }}</el-checkbox>
|
||||
</el-form-item>
|
||||
<div v-show="showProperty('show') && titleForm.show">
|
||||
<el-form-item
|
||||
|
@ -12,10 +12,10 @@
|
||||
:label="$t('chart.show')"
|
||||
class="form-item"
|
||||
>
|
||||
<el-switch
|
||||
<el-checkbox
|
||||
v-model="titleForm.show"
|
||||
@change="changeTitleStyle('show')"
|
||||
/>
|
||||
>{{ $t('chart.show') }}</el-checkbox>
|
||||
</el-form-item>
|
||||
<div v-show="showProperty('show') && titleForm.show">
|
||||
<el-form-item
|
||||
|
@ -10,11 +10,11 @@
|
||||
:style="title_class"
|
||||
style="cursor: default;display: block;"
|
||||
>
|
||||
<div style="display: flex;">
|
||||
<div>
|
||||
<chart-title-update :chart-info="chartInfo" />
|
||||
<title-remark
|
||||
v-if="chart.render && chart.render === 'antv' && remarkCfg.show"
|
||||
style="text-shadow: none!important;"
|
||||
style="text-shadow: none!important;margin-left: 4px;"
|
||||
:remark-cfg="remarkCfg"
|
||||
/>
|
||||
</div>
|
||||
|
@ -17,11 +17,11 @@
|
||||
:style="title_class"
|
||||
style="cursor: default;display: block;"
|
||||
>
|
||||
<div style="display: flex;">
|
||||
<div>
|
||||
<chart-title-update :chart-info="chartInfo" />
|
||||
<title-remark
|
||||
v-if="chart.render && chart.render === 'antv' && remarkCfg.show"
|
||||
style="text-shadow: none!important;"
|
||||
style="text-shadow: none!important;margin-left: 4px;"
|
||||
:remark-cfg="remarkCfg"
|
||||
/>
|
||||
</div>
|
||||
|
@ -11,10 +11,10 @@
|
||||
:label="$t('chart.show')"
|
||||
class="form-item"
|
||||
>
|
||||
<el-switch
|
||||
<el-checkbox
|
||||
v-model="titleForm.show"
|
||||
@change="changeTitleStyle('show')"
|
||||
/>
|
||||
>{{ $t('chart.show') }}</el-checkbox>
|
||||
</el-form-item>
|
||||
<div v-show="titleForm.show">
|
||||
<el-form-item
|
||||
|
Loading…
Reference in New Issue
Block a user