fix(视图): 修复标题不能调整位置的问题
This commit is contained in:
parent
1feda5cc47
commit
6185ea544d
@ -18,11 +18,11 @@
|
|||||||
:style="title_class"
|
:style="title_class"
|
||||||
style="cursor: default;display: block;"
|
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" />
|
<chart-title-update :chart-info="chartInfo" />
|
||||||
<title-remark
|
<title-remark
|
||||||
v-if="remarkCfg.show"
|
v-if="remarkCfg.show"
|
||||||
style="text-shadow: none!important;"
|
style="text-shadow: none!important;margin-left: 4px;"
|
||||||
:remark-cfg="remarkCfg"
|
:remark-cfg="remarkCfg"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -18,11 +18,11 @@
|
|||||||
:style="title_class"
|
:style="title_class"
|
||||||
style="cursor: default;display: block;"
|
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" />
|
<chart-title-update :chart-info="chartInfo" />
|
||||||
<title-remark
|
<title-remark
|
||||||
v-if="remarkCfg.show"
|
v-if="remarkCfg.show"
|
||||||
style="text-shadow: none!important;"
|
style="text-shadow: none!important;margin-left: 4px;"
|
||||||
:remark-cfg="remarkCfg"
|
:remark-cfg="remarkCfg"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
/>
|
/>
|
||||||
<p
|
<p
|
||||||
v-else
|
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"
|
@click.stop="handleTitleEditer"
|
||||||
>{{ chart.title }}</p>
|
>{{ chart.title }}</p>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -10,11 +10,11 @@
|
|||||||
:style="title_class"
|
:style="title_class"
|
||||||
style="cursor: default;display: block;"
|
style="cursor: default;display: block;"
|
||||||
>
|
>
|
||||||
<div style="display: flex;">
|
<div>
|
||||||
<chart-title-update :chart-info="chartInfo" />
|
<chart-title-update :chart-info="chartInfo" />
|
||||||
<title-remark
|
<title-remark
|
||||||
v-if="chart.render && chart.render === 'antv' && remarkCfg.show"
|
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"
|
:remark-cfg="remarkCfg"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -17,11 +17,11 @@
|
|||||||
:style="title_class"
|
:style="title_class"
|
||||||
style="cursor: default;display: block;"
|
style="cursor: default;display: block;"
|
||||||
>
|
>
|
||||||
<div style="display: flex;">
|
<div>
|
||||||
<chart-title-update :chart-info="chartInfo" />
|
<chart-title-update :chart-info="chartInfo" />
|
||||||
<title-remark
|
<title-remark
|
||||||
v-if="chart.render && chart.render === 'antv' && remarkCfg.show"
|
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"
|
:remark-cfg="remarkCfg"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user