File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/components/toolbar-button Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11export default {
22 name : 'fullScreen' ,
3- icon : 'fa-arrows-alt' ,
4- title : '全屏' ,
3+ icon : 'fa-expand- arrows-alt' ,
4+ title ( ) { return this . fullScreen ? '取消全屏' : '全屏' } ,
55 action : {
66 event : 'fullScreen'
77 }
Original file line number Diff line number Diff line change 11export default {
22 name : 'hide' ,
3- icon : 'fa-eye' ,
4- title : '隐藏' ,
3+ icon ( ) { return this . previewDisplay === 'hide' ? 'fa-eye-slash' : 'fa-eye' } ,
4+ title ( ) { return this . previewDisplay === 'hide' ? '显示预览' : '隐藏预览' } ,
55 action : {
66 event : 'hide'
77 }
Original file line number Diff line number Diff line change 11export default {
22 name : 'scrollSync' ,
33 icon ( ) { return this . scrollSync ? 'fa-lock' : 'fa-lock-open' } ,
4- title : '同步滚动' ,
4+ title ( ) { return this . scrollSync ? '停用滚动同步' : '启用滚动同步' } ,
55 action : {
66 event : 'scrollSync'
77 }
You can’t perform that action at this time.
0 commit comments