lw-cdp-ui 1.4.56 → 1.4.58

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.
@@ -99,6 +99,13 @@ export default {
99
99
  })
100
100
  .then(() => {
101
101
  this.$tool.data.clear()
102
+ if ('serviceWorker' in navigator) {
103
+ navigator.serviceWorker.getRegistrations().then(function (registrations) {
104
+ for (let registration of registrations) {
105
+ registration.unregister()
106
+ }
107
+ })
108
+ }
102
109
 
103
110
  window.location.href = '/#/passport-login'
104
111
  })