zydx-plus 1.32.266 → 1.32.267

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.266",
3
+ "version": "1.32.267",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -148,7 +148,7 @@ export default {
148
148
  let pHeight = 0
149
149
  let html = ''
150
150
  for (let i = 0; i < data.length; i++) {
151
- if(data[i].firstChild.localName === 'img') {
151
+ if(data[i]?.firstChild?.localName === 'img') {
152
152
  const img = data[i].firstChild
153
153
  const imgHeight = img.offsetHeight
154
154
  if((pHeight + imgHeight) > max) {
package/src/index.js CHANGED
@@ -79,7 +79,7 @@ function install(app) {
79
79
  }
80
80
 
81
81
  export default {
82
- version: '1.32.266',
82
+ version: '1.32.267',
83
83
  install,
84
84
  Calendar,
85
85
  Message,