zydx-plus 1.32.265 → 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.265",
3
+ "version": "1.32.267",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -523,10 +523,10 @@ export default {
523
523
  token = sessionStorage.getItem('sessionId')
524
524
  }
525
525
  const xhr = new XMLHttpRequest()
526
- xhr.open('GET', 'http://192.168.15.124:8888/zydx/voice/getDesKeyId')
527
- xhr.setRequestHeader('Authorization', '7a129186-7e51-431d-b965-735dfed8e459')
528
- // xhr.open('GET', '/zydx/voice/getDesKeyId')
529
- // xhr.setRequestHeader('Authorization', token)
526
+ // xhr.open('GET', 'http://192.168.15.124:8888/zydx/voice/getDesKeyId')
527
+ // xhr.setRequestHeader('Authorization', '7a129186-7e51-431d-b965-735dfed8e459')
528
+ xhr.open('GET', '/zydx/voice/getDesKeyId')
529
+ xhr.setRequestHeader('Authorization', token)
530
530
  this.error = true
531
531
  xhr.onreadystatechange = () => {
532
532
  if (xhr.readyState === 4) {
@@ -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.265',
82
+ version: '1.32.267',
83
83
  install,
84
84
  Calendar,
85
85
  Message,