zydx-plus 1.13.52 → 1.13.54

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.13.52",
3
+ "version": "1.13.54",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -27,7 +27,8 @@
27
27
  "@wangeditor/plugin-upload-attachment": "^1.1.0",
28
28
  "snabbdom": "^3.5.1",
29
29
  "@wangeditor/plugin-formula": "^1.0.11",
30
- "katex": "^0.16.6"
30
+ "katex": "^0.16.6",
31
+ "simple-mind-map": "^0.5.5"
31
32
  },
32
33
  "peerDependencies": {
33
34
  "vue": "^3.2.13"
@@ -19,7 +19,7 @@ export default {
19
19
  data() {
20
20
  return {
21
21
  trans: 0,
22
- roundValue: false
22
+ roundValue: this.value
23
23
  }
24
24
  },
25
25
  props: {
@@ -35,6 +35,17 @@ export default {
35
35
  type: String,
36
36
  default: '#13ce66'
37
37
  },
38
+ value: {
39
+ type: Boolean,
40
+ default: false
41
+ }
42
+ },
43
+ mounted() {
44
+ if(!this.roundValue) {
45
+ this.trans = 0
46
+ }else {
47
+ this.trans = this.width - this.height
48
+ }
38
49
  },
39
50
  methods: {
40
51
  submit() {
package/src/index.js CHANGED
@@ -45,7 +45,7 @@ function install(app) {
45
45
  }
46
46
 
47
47
  export default {
48
- version: '1.13.52',
48
+ version: '1.13.54',
49
49
  install,
50
50
  Calendar,
51
51
  Message,