zydx-plus 1.32.317 → 1.32.318

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zydx-plus",
3
- "version": "1.32.317",
3
+ "version": "1.32.318",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -836,6 +836,7 @@ export default {
836
836
  })
837
837
  },
838
838
  async butTap(data, key) {
839
+ if(data.key === 'textMenu' && key === 0 || data.key === 'titleMenu' && key === 0) return
839
840
  // 标志
840
841
  if (data.key === 'signMenu') this.signMenuShow = !this.signMenuShow
841
842
  // 红头文件
@@ -855,13 +856,13 @@ export default {
855
856
  }else {
856
857
  this.butDataName('titleMenu',`字体 ${key.name}`)
857
858
  }
858
- this.editor.commands.setFontFamily(key.key).run()
859
+ this.editor.commands.setFontFamily(key.key)
859
860
  }
860
861
  // 正文
861
862
  if (data.key === 'textMenu') {
862
863
  this.menuStast = 'textMenu'
863
864
  this.butDataName('textMenu',`字号 ${key.name}`)
864
- this.editor.commands.setFontSize(key.key).run()
865
+ this.editor.commands.setFontSize(key.key)
865
866
  }
866
867
  // 大纲级别
867
868
  if (data.key === 'outlineMenu') {
package/src/index.js CHANGED
@@ -79,7 +79,7 @@ function install(app) {
79
79
  }
80
80
 
81
81
  export default {
82
- version: '1.32.317',
82
+ version: '1.32.318',
83
83
  install,
84
84
  Calendar,
85
85
  Message,