@freelog/tools-lib 0.1.140 → 0.1.141

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.
@@ -3323,18 +3323,19 @@ var I18nNext = /*#__PURE__*/function () {
3323
3323
 
3324
3324
  _proto._fetchData = /*#__PURE__*/function () {
3325
3325
  var _fetchData2 = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
3326
- var res, en_US, zh_CN, _i, _Object$entries, _Object$entries$_i, key, value, result;
3326
+ var url, res, en_US, zh_CN, _i, _Object$entries, _Object$entries$_i, key, value, result;
3327
3327
 
3328
3328
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
3329
3329
  while (1) {
3330
3330
  switch (_context4.prev = _context4.next) {
3331
3331
  case 0:
3332
- _context4.next = 2;
3333
- return axios.get(window.location.origin.includes('.freelog.com') ? ossJsonUrl : ossJsonUrl_Test, {
3332
+ url = window.location.origin.includes('.freelog.com') ? ossJsonUrl : ossJsonUrl_Test;
3333
+ _context4.next = 3;
3334
+ return axios.get(url + '?timestamp=' + Date.now(), {
3334
3335
  withCredentials: false
3335
3336
  });
3336
3337
 
3337
- case 2:
3338
+ case 3:
3338
3339
  res = _context4.sent;
3339
3340
  // console.log(res, 'data09oiw3qjelsfkdfjlsdkfjl');
3340
3341
  en_US = {};
@@ -3363,7 +3364,7 @@ var I18nNext = /*#__PURE__*/function () {
3363
3364
 
3364
3365
  return _context4.abrupt("return", result);
3365
3366
 
3366
- case 9:
3367
+ case 10:
3367
3368
  case "end":
3368
3369
  return _context4.stop();
3369
3370
  }