yakuza0 2.23.7 → 2.23.8-beta.0

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.
@@ -114,7 +114,7 @@ exports.default = function () {
114
114
  };
115
115
 
116
116
  if (!_config2.default.security.isStupid) {
117
- _context3.next = 14;
117
+ _context3.next = 15;
118
118
  break;
119
119
  }
120
120
 
@@ -127,8 +127,12 @@ exports.default = function () {
127
127
  $ws.on('cln/yk0/secret/load/' + clientKey, function (msg) {
128
128
  cs(msg);
129
129
  });
130
+ window.addEventListener('popstate', function (event) {
131
+ // 强制刷新页面
132
+ location.reload(true);
133
+ });
130
134
 
131
- case 14:
135
+ case 15:
132
136
 
133
137
  _yakuza.Cookies.remove(_config2.default.server.redirect.afkKey, { domain: $yk.appConf.cookieDomain });
134
138
  app.router.afterEach(function (to, from) {
@@ -161,7 +165,7 @@ exports.default = function () {
161
165
  // redirect(location.href.split('?')[0], q)
162
166
  }
163
167
 
164
- case 18:
168
+ case 19:
165
169
  case 'end':
166
170
  return _context3.stop();
167
171
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yakuza0",
3
- "version": "2.23.7",
3
+ "version": "2.23.8-beta.0",
4
4
  "description": "yakuza0 with nuxt",
5
5
  "main": "index.js",
6
6
  "scripts": {