From dc07cb9703641ffe6a03463df199d5d36dd13ac1 Mon Sep 17 00:00:00 2001 From: shy Date: Thu, 29 Feb 2024 00:29:13 +0800 Subject: [PATCH] add some --- const.js | 8 ++++++-- plugin/state.js | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/const.js b/const.js index 33470e9a..ac14da49 100644 --- a/const.js +++ b/const.js @@ -417,7 +417,8 @@ var icon = { word: "bi bi-book", repos: "bi bi-git", - vimer: "bi bi-file-earmark-code", + vimer: "bi bi-bug", + // vimer: "bi bi-file-earmark-code", build: "bi bi-tools", xterm: "bi bi-terminal", cmds: "bi bi-terminal", @@ -435,7 +436,10 @@ var icon = { username: "bi bi-person-gear", portal: "bi bi-globe", - desktop: "bi bi-window-desktop", admin: "bi bi-window-sidebar", dream: "bi bi-grid-3x3-gap", space: "bi bi-grid-3x3-gap", + desktop: "bi bi-window-desktop", admin: "bi bi-window-sidebar", + // dream: "bi bi-grid-3x3-gap", + dream: "bi bi-diagram-3", + space: "bi bi-grid-3x3-gap", configs: "bi bi-gear", config: "bi bi-gear", conf: "bi bi-gear", logs: "bi bi-calendar4-week", save: "bi bi-floppy", trash: "bi bi-trash", diff --git a/plugin/state.js b/plugin/state.js index 46f59f5e..de3717e1 100644 --- a/plugin/state.js +++ b/plugin/state.js @@ -164,7 +164,7 @@ Volcanos(chat.ONACTION, {list: ["刷新数据", can.user.input(event, can, [{name: "message", display: "/require/usr/icebergs/core/chat/message.js", run: function(event, cmds, cb) { can._root.Header.run(can.request(event, {pod: can.ConfSpace()}), [ctx.ACTION, "message"].concat(cmds), function(msg) { cb(msg) }) }}], function(list) { - can._root.Header.run(event, [ctx.ACTION, "message", list[0], mdb.TYPE, "plug", web.SPACE, can.ConfSpace(), ctx.INDEX, can.ConfIndex(), ctx.ARGS, JSON.stringify(can.Option())]) + can._root.Header.run(can.request(event, {pod: can.ConfSpace()}), [ctx.ACTION, "message", list[0], mdb.TYPE, "plug", ctx.INDEX, can.ConfIndex(), ctx.ARGS, JSON.stringify(can.Option())]) }) }, "生成链接": function(event, can) { can.onmotion.share(event, can, [], [web.LINK, can.user.copy(event, can, can.onexport.link(can))]) },