1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-04-10 13:33:18 +08:00
parent 09810f9d1b
commit 40ba82b5b2
2 changed files with 6 additions and 1 deletions

View File

@ -411,9 +411,13 @@ var icon = {
plan: "bi bi-calendar4-week",
status: "bi bi-git",
access: "bi bi-file-earmark-lock",
sso: "bi bi-shield-check", login: "bi bi-person-check", token: "bi bi-key",
username: "bi bi-person-gear", nodename: "bi bi-globe",
domain: "bi bi-globe", origin: "bi bi-globe", vendor: "bi bi-shop",
domain: "bi bi-globe",
origin: "bi bi-globe",
server: "bi bi-globe",
vendor: "bi bi-shop",
full: "bi bi-arrows-fullscreen", open: "bi bi-box-arrow-up-right",
more: "bi bi-three-dots-vertical", actions: "bi bi-three-dots",
search: "bi bi-search", favor: "bi bi-star",

View File

@ -10,6 +10,7 @@ Volcanos(chat.ONFIGURE, {key: {
_show: function(can, msg, cb, target, name) {
if (msg.Length() == 0 || msg.Length() == 1 && msg.Append(name) == target.value && target.value != "" || msg.Length() == 1 && msg.Append(name) == "") { return can.onmotion.hidden(can) }
if (can.base.isIn(msg.append[msg.append.length-1], ctx.ACTION, "cb")) { msg.append = msg.append.slice(0, -1) } var list = {}
msg.Option(ice.TABLE_CHECKBOX, "")
can.onmotion.clear(can), can.onappend.table(can, msg, function(value, key, index, item) { value = item[key]
if (msg.append.length == 1 && index < 100 && list[value]) { return } list[value] = true
return {text: [value, html.TD, value == ""? html.HR: ""], style: msg.append && msg.append.length == 1? kit.Dict(html.MIN_WIDTH, target.offsetWidth-16): {}, onclick: function(event) {