style: Tab组件中富文本视图不需显示明显放大按钮
This commit is contained in:
parent
f32663b298
commit
630087dc91
@ -4,10 +4,10 @@
|
||||
<span v-if="isEdit" :title="$t('panel.edit')">
|
||||
<i class="icon iconfont icon-edit" @click.stop="edit" />
|
||||
</span>
|
||||
<span :title="$t('panel.details')">
|
||||
<span v-show="detailsShow" :title="$t('panel.details')">
|
||||
<i class="icon iconfont icon-chakan" @click.stop="showViewDetails('details')" />
|
||||
</span>
|
||||
<span :title="$t('panel.enlarge')">
|
||||
<span v-show="enlargeShow" :title="$t('panel.enlarge')">
|
||||
<i class="icon iconfont icon-fangda" @click.stop="showViewDetails('enlarge')" />
|
||||
</span>
|
||||
</div>
|
||||
@ -63,6 +63,12 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
detailsShow(){
|
||||
return this.element.propValue.innerType !== 'richTextView'
|
||||
},
|
||||
enlargeShow(){
|
||||
return this.element.propValue.innerType !== 'richTextView'
|
||||
},
|
||||
// gapStyle() {
|
||||
// return {
|
||||
// 'right': this.curGap + 'px!important'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user