1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 00:38:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2025-02-15 18:35:03 +08:00
parent ee60a8b9bc
commit c76ef839aa
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 shylinux
Copyright (c) 2017-2025 shylinux
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -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.replaceAll(":", "_")
item._hash && (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