sbd-npm 1.4.23 → 1.4.24
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/constant.js +1 -1
- package/package.json +1 -1
- package/util.js +3 -2
package/constant.js
CHANGED
@@ -213,8 +213,8 @@ const MenuList = [
|
|
213
213
|
'name': '雪球',
|
214
214
|
'icon': 'star',
|
215
215
|
'menu': [
|
216
|
-
{'key': 'snowball_trend', 'name': '自选趋势', 'url': '/0xeac2ca3d52697daa7aed771a48bb171d7444b20f'},
|
217
216
|
{'key': 'snowball_user', 'name': '用户列表', 'url': '/0x180887e91b7acef7489e55b42d3c0a8ed9e0095a'},
|
217
|
+
{'key': 'snowball_trend', 'name': '自选趋势', 'url': '/0xeac2ca3d52697daa7aed771a48bb171d7444b20f'},
|
218
218
|
{'key': 'snowball_tweet', 'name': '推文', 'url': '/0x598d09b0a082120be3b35cb1ddbd4c2581be71d0'},
|
219
219
|
{'key': 'snowball_red_packet', 'name': '红包数据', 'url': '/0xc85d5ceba4416d89a9b1f1c8476197101267d9e8'},
|
220
220
|
{'key': 'snowball_tool', 'name': '搜索工具', 'url': '/0xd7650207847ff99322e8432ffdbe54f9f11c6fe3'},
|
package/package.json
CHANGED
package/util.js
CHANGED
@@ -279,6 +279,7 @@ const Util = {
|
|
279
279
|
$.ajax({
|
280
280
|
url: url,
|
281
281
|
headers: {
|
282
|
+
'Cache-Control': 'no-cache',
|
282
283
|
'X-CSRF-TOKEN': Util.get_cookie('_csrf_token')
|
283
284
|
},
|
284
285
|
async: true,
|
@@ -2455,11 +2456,11 @@ const Util = {
|
|
2455
2456
|
},
|
2456
2457
|
|
2457
2458
|
/**
|
2458
|
-
*
|
2459
|
+
* 计算执行过程中所花费的时间
|
2459
2460
|
* @param time
|
2460
2461
|
* @returns {string}
|
2461
2462
|
*/
|
2462
|
-
|
2463
|
+
calculate_execution_time: function (time) {
|
2463
2464
|
let result = "";
|
2464
2465
|
if (time > 1000) {
|
2465
2466
|
let second = Math.round(time / 1000);
|