From ebeecd34234726f685b9f2f51ebab5adf1676064 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 19 Feb 2025 21:00:52 +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 df2264d8..ea4dbe89 100644 --- a/plugin/table.js +++ b/plugin/table.js @@ -127,7 +127,7 @@ Volcanos(chat.ONIMPORT, { }, _item: function(can, item, cb, cbs) { item._hash = item._hash||item.sess||item.hash||item.zone||item.path||item.name - item._hash && (item._hash = item._hash.replaceAll(":", "_")) + item._hash && item._hash.replaceAll && (item._hash = item._hash.replaceAll(":", "_")) item._title = item._title||item.name||item.path||item.zone||item.hash item._select == undefined && can.db.hash[0] && (item._select = can.db.hash[0] == item._hash) if (typeof item._hash == code.OBJECT) { item._select = true