From f34d04c775291c7353e4dde22fc30b5dffe36b03 Mon Sep 17 00:00:00 2001 From: shy Date: Fri, 4 Oct 2024 18:43:16 +0800 Subject: [PATCH] add some --- plugin/table.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/table.js b/plugin/table.js index 7124c032..4f0eec99 100644 --- a/plugin/table.js +++ b/plugin/table.js @@ -407,6 +407,7 @@ Volcanos(chat.ONIMPORT, { for (var i = 0; i < item.list.length; i++) { if (item.list[i] && typeof item.list[i] == code.STRING) { item.list[i] = {text: item.list[i]} } } }) cb = cb|| function(event) { var done = false + if (can.onaction.carddetail && can.onaction.carddetail(event, can, value)) { return } if (value.uid) { return can.Option(UID, value.uid), can.Update() } can.core.Item(can.Option(), function(k, v) { if (!done && !v) { done = true, can.Option(k, value[k]), can.Update() }