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
|
@@ -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(
|
|
108
|
+
if((pHeight + text) > 930) {
|
|
109
109
|
this.htmlArr.push(html)
|
|
110
110
|
pHeight = 0
|
|
111
111
|
html = ''
|
|
112
|
-
break
|
|
113
112
|
}
|
|
114
|
-
|
|
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) {
|