diff --git a/frontend/src/components/canvas/components/editor/EditBar.vue b/frontend/src/components/canvas/components/editor/EditBar.vue index 3f2c726998..bab1c21ef1 100644 --- a/frontend/src/components/canvas/components/editor/EditBar.vue +++ b/frontend/src/components/canvas/components/editor/EditBar.vue @@ -137,7 +137,7 @@ :target="curComponent.hyperlinks.openMode " :href="curComponent.hyperlinks.content " > - + @@ -243,6 +243,7 @@ export default { }, data() { return { + systemOS: 'Mac', maxImageSize: 15000000, boardSetVisible: false, linkJumpSetVisible: false, @@ -362,6 +363,9 @@ export default { ]) }, mounted() { + if (navigator.platform.indexOf('Mac') == -1) { + this.systemOS = 'Other' + } this.initCurFields() if (this.element.type === 'view') { bus.$on('initCurFields-' + this.element.id, this.initCurFields) diff --git a/frontend/src/components/canvas/components/editor/SettingMenu.vue b/frontend/src/components/canvas/components/editor/SettingMenu.vue index 28ca324d09..8eebf374c9 100644 --- a/frontend/src/components/canvas/components/editor/SettingMenu.vue +++ b/frontend/src/components/canvas/components/editor/SettingMenu.vue @@ -17,7 +17,8 @@ v-if="curComponent.type != 'custom-button'" icon="el-icon-document-copy" @click.native="copy" - >{{ $t('panel.copy') }} + >{{ $t('panel.copy') }}(+ D Control + D)
    +
  • + +
    command
    +
    
    +
  • +
  • font
    @@ -804,9 +810,9 @@
    @font-face {
       font-family: 'iconfont';
    -  src: url('iconfont.woff2?t=1669087400468') format('woff2'),
    -       url('iconfont.woff?t=1669087400468') format('woff'),
    -       url('iconfont.ttf?t=1669087400468') format('truetype');
    +  src: url('iconfont.woff2?t=1669699377636') format('woff2'),
    +       url('iconfont.woff?t=1669699377636') format('woff'),
    +       url('iconfont.ttf?t=1669699377636') format('truetype');
     }
     

    第二步:定义使用 iconfont 的样式

    @@ -832,6 +838,15 @@
      +
    • + +
      + command +
      +
      .icon-command +
      +
    • +
    • @@ -1957,6 +1972,14 @@
        +
      • + +
        command
        +
        #icon-command
        +
      • +