优化设备时间与实际不符,导致发布时间计算错误

This commit is contained in:
A1300399510
2024-03-28 16:22:20 +08:00
parent 26c13dc5d6
commit 43f9cd8102
11 changed files with 60 additions and 60 deletions

View File

@@ -159,7 +159,7 @@ const client_manifest = {
"prefetch": true,
"preload": true,
"css": [],
"file": "error-404.d59af75b.js",
"file": "error-404.df41db08.js",
"imports": [
"node_modules/nuxt/dist/app/entry.js"
],
@@ -185,7 +185,7 @@ const client_manifest = {
"prefetch": true,
"preload": true,
"css": [],
"file": "error-500.b5037478.js",
"file": "error-500.d49f8ddc.js",
"imports": [
"node_modules/nuxt/dist/app/entry.js"
],
@@ -240,7 +240,7 @@ const client_manifest = {
"node_modules/@nuxt/ui-templates/dist/templates/error-404.vue",
"node_modules/@nuxt/ui-templates/dist/templates/error-500.vue"
],
"file": "entry.a7002f06.js",
"file": "entry.c20278f2.js",
"isEntry": true,
"src": "node_modules/nuxt/dist/app/entry.js",
"_globalCSS": true

View File

@@ -2055,7 +2055,7 @@ const _sfc_main$2 = {
var diffValue = now - timestamp;
var result;
if (diffValue < 0)
return;
return "刚刚";
var dayC = diffValue / day;
var hourC = diffValue / (hour + 1);
var minC = diffValue / minute;