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 +4 -2
- package/src/components/buttonGroup/src/buttonGroup.vue +1 -1
- package/src/components/data_table/src/data_table.vue +1 -1
- package/src/components/data_table/src/table_head.vue +1 -3
- package/src/components/data_table/src/table_row.vue +1 -2
- package/src/components/editor/src/editor.vue +3 -2
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zydx-plus",
|
|
3
|
-
"version": "1.32.
|
|
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,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)
|
|
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)
|
|
865
|
+
this.editor.commands.setFontSize(key.key)
|
|
865
866
|
}
|
|
866
867
|
// 大纲级别
|
|
867
868
|
if (data.key === 'outlineMenu') {
|