chat-customer-47net 1.1.8 → 1.1.9

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.
@@ -7435,6 +7435,7 @@ const __vue2_script = {
7435
7435
  },
7436
7436
  mounted() {
7437
7437
  this.watchLocalStorage();
7438
+ this.setCurrentUrl();
7438
7439
  this.onCurrentValue = localStorage.getItem("auth._token.login");
7439
7440
  document.addEventListener("touchstart", this.initAudio);
7440
7441
  document.addEventListener("click", this.initAudio);
@@ -7481,7 +7482,6 @@ const __vue2_script = {
7481
7482
  },
7482
7483
  updateMessage() {
7483
7484
  if (this.isSetVisitedpage) {
7484
- this.setCurrentUrl();
7485
7485
  this.isSetVisitedpage = false;
7486
7486
  }
7487
7487
  },
@@ -5352,7 +5352,7 @@ var __defProp = Object.defineProperty,
5352
5352
  }
5353
5353
  },
5354
5354
  mounted() {
5355
- this.watchLocalStorage(), this.onCurrentValue = localStorage.getItem("auth._token.login"), document.addEventListener("touchstart", this.initAudio), document.addEventListener("click", this.initAudio);
5355
+ this.watchLocalStorage(), this.setCurrentUrl(), this.onCurrentValue = localStorage.getItem("auth._token.login"), document.addEventListener("touchstart", this.initAudio), document.addEventListener("click", this.initAudio);
5356
5356
  },
5357
5357
  beforeDestroy() {
5358
5358
  window.removeEventListener("storage", this.handleStorageChange), document.removeEventListener("touchstart", this.initAudio), document.removeEventListener("click", this.initAudio), this.unwatchRoute && this.unwatchRoute();
@@ -5382,7 +5382,7 @@ var __defProp = Object.defineProperty,
5382
5382
  this.socket && this.socket.emit("setVisitedpage", this.userId, window.location.href, this.initData.siteName);
5383
5383
  },
5384
5384
  updateMessage() {
5385
- this.isSetVisitedpage && (this.setCurrentUrl(), this.isSetVisitedpage = !1);
5385
+ this.isSetVisitedpage && (this.isSetVisitedpage = !1);
5386
5386
  },
5387
5387
  logOut() {
5388
5388
  this.socket && this.socket.emit("logOut");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chat-customer-47net",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "",
5
5
  "main": "chat-customer-47net.es.js",
6
6
  "scripts": {