zydx-plus 1.32.317 → 1.32.319

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.319",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -113,6 +113,8 @@
113
113
  "uppercamelcase": "^1.1.0",
114
114
  "url-loader": "^1.0.1",
115
115
  "vue-template-compiler": "2.5.21",
116
- "vue-template-es2015-compiler": "^1.6.0"
116
+ "vue-template-es2015-compiler": "^1.6.0",
117
+ "@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
118
+ "@vue/babel-plugin-jsx": "^1.2.1"
117
119
  }
118
120
  }
@@ -1,5 +1,5 @@
1
1
 
2
- <script>
2
+ <script lang="jsx">
3
3
  import { defineComponent, h } from 'vue';
4
4
  export const FILE_ERROR = {
5
5
  SIZE: 'SIZE_ERROR',
@@ -1,4 +1,4 @@
1
- <script>
1
+ <script lang="jsx">
2
2
  import { VueDraggableNext } from "vue-draggable-next";
3
3
  import tableHead from "./table_head.vue";
4
4
  import tableRow from "./table_row.vue";
@@ -25,9 +25,7 @@
25
25
  </thead>
26
26
  </template>
27
27
 
28
- <script>
29
- <thead class="table_head">
30
- </thead>
28
+ <script lang="jsx">
31
29
  import { defineComponent } from 'vue';
32
30
  export default defineComponent({
33
31
  name: 'table-head',
@@ -1,4 +1,4 @@
1
- <script>
1
+ <script lang="jsx">
2
2
  import { defineComponent, Fragment, Transition } from 'vue';
3
3
  export default defineComponent({
4
4
  name: 'table-row',
@@ -128,7 +128,6 @@ export default defineComponent({
128
128
  }
129
129
 
130
130
  .table_cell {
131
- text-align: center;
132
131
  text-align: center;
133
132
  line-height: 30px;
134
133
  font-size: 14px;
@@ -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.319',
83
83
  install,
84
84
  Calendar,
85
85
  Message,