Demo:修复在节点样式侧边栏里无法去除节点的文本修饰线样式的问题
This commit is contained in:
parent
6d202b4b7d
commit
c80eacc5e7
@ -167,6 +167,7 @@ export default {
|
|||||||
italic: 'Italic',
|
italic: 'Italic',
|
||||||
textDecoration: 'Text decoration',
|
textDecoration: 'Text decoration',
|
||||||
underline: 'Underline',
|
underline: 'Underline',
|
||||||
|
none: 'None',
|
||||||
lineThrough: 'Line through',
|
lineThrough: 'Line through',
|
||||||
overline: 'Overline',
|
overline: 'Overline',
|
||||||
border: 'Border',
|
border: 'Border',
|
||||||
|
|||||||
@ -166,6 +166,7 @@ export default {
|
|||||||
addFontWeight: '加粗',
|
addFontWeight: '加粗',
|
||||||
italic: '斜体',
|
italic: '斜体',
|
||||||
textDecoration: '划线',
|
textDecoration: '划线',
|
||||||
|
none: '无',
|
||||||
underline: '下划线',
|
underline: '下划线',
|
||||||
lineThrough: '中划线',
|
lineThrough: '中划线',
|
||||||
overline: '上划线',
|
overline: '上划线',
|
||||||
|
|||||||
@ -142,6 +142,9 @@
|
|||||||
v-model="style.textDecoration"
|
v-model="style.textDecoration"
|
||||||
@change="update('textDecoration')"
|
@change="update('textDecoration')"
|
||||||
>
|
>
|
||||||
|
<el-radio-button label="none">{{
|
||||||
|
$t('style.none')
|
||||||
|
}}</el-radio-button>
|
||||||
<el-radio-button label="underline">{{
|
<el-radio-button label="underline">{{
|
||||||
$t('style.underline')
|
$t('style.underline')
|
||||||
}}</el-radio-button>
|
}}</el-radio-button>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user