From cb5d5d992e7cc3d384a029edb1949fd905c133d9 Mon Sep 17 00:00:00 2001 From: shy Date: Tue, 3 Dec 2024 22:45:10 +0800 Subject: [PATCH] add some --- plugin/table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/table.js b/plugin/table.js index 40b6b06a..2b356e12 100644 --- a/plugin/table.js +++ b/plugin/table.js @@ -450,7 +450,7 @@ Volcanos(chat.ONIMPORT, { authView: function(can, value) { return can.base.isIn(value.auth_status, "issued", "2") && {view: [aaa.AUTH, html.SPAN], list: [{icon: "bi bi-patch-check-fill", style: {color: "var(--notice-bg-color)"}}]} }, timeView: function(can, value, key) { if (key) { return {text: [can.user.trans(can, key, null, html.INPUT)+": "+can.base.TimeTrim(value[key]), "", mdb.TIME]} } - return {text: [can.base.TimeTrim(value[key]||value.updated_at||value.created_at||value.time), "", mdb.TIME]} + return {text: [can.base.TimeTrim(value[key]||value.browse_time||value.updated_at||value.created_at||value.time), "", mdb.TIME]} }, unitView: function(can, value, key, unit) { if (!value[key]) { return } return {text: [[can.user.trans(can, key, null, html.INPUT)+":", value[key]].concat(unit? [unit]: []).join(" "), "", key]}