zydx-plus 1.30.155 → 1.30.156

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.30.155",
3
+ "version": "1.30.156",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -105,19 +105,19 @@ export default defineComponent({
105
105
  let html = ''
106
106
  for (let i = 0; i < data.length; i++) {
107
107
  let text = data[i].offsetHeight
108
- if(i === data.length - 1) {
108
+ if((pHeight + text) > 930) {
109
109
  this.htmlArr.push(html)
110
110
  pHeight = 0
111
111
  html = ''
112
- break
113
112
  }
114
- if((pHeight + text) > 930) {
113
+ pHeight += text
114
+ html += data[i].outerHTML
115
+ if(i === data.length - 1) {
115
116
  this.htmlArr.push(html)
116
117
  pHeight = 0
117
118
  html = ''
119
+ break
118
120
  }
119
- pHeight += text
120
- html += data[i].outerHTML
121
121
  }
122
122
  },
123
123
  closeMaker(data) {
package/src/index.js CHANGED
@@ -71,7 +71,7 @@ function install(app) {
71
71
  }
72
72
 
73
73
  export default {
74
- version: '1.30.155',
74
+ version: '1.30.156',
75
75
  install,
76
76
  Calendar,
77
77
  Message,