1
0
forked from x/volcanos
This commit is contained in:
root 2025-02-08 18:16:55 +08:00
parent 7aaf056db8
commit 044d57c509
2 changed files with 2 additions and 1 deletions

View File

@ -772,7 +772,7 @@ body:not(.width2):not(.mobile) fieldset.plugin.feel>form.option>div.item.text.fi
body:not(.width2) fieldset>div.action>div.item.text.filter>input { width:var(--input-width); height:30px; transition:all 1.2s; }
body:not(.width2) fieldset>div.action>div.item.text.filter>input:focus { width:var(--project-width); transition:all 0.5s; }
div.item.text.will>input { border:var(--box-notice); }
div.item.text>i:first-child { color:var(--disable-fg-color); position:absolute; left:0; top:3px; padding:var(--input-padding); }
div.item.text>i:first-child { color:var(--disable-fg-color); position:absolute; left:0; padding:var(--input-padding); }
body:mobile(.mobile) div.item.text:hover>i:first-child { color:unset; }
div.item.text>span.icon { font-size:var(--icon-font-size); padding:var(--input-padding); position:absolute; right:0; visibility:hidden; }
body:not(.mobile) div.item.text:hover>span.icon { visibility:visible; }

View File

@ -127,6 +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._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