mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
80b8277a1d
commit
41e5a4ed45
@ -152,7 +152,7 @@ Volcanos("onaction", {help: "交互数据", list: [], _init: function(can, meta,
|
||||
|
||||
// 登录检查
|
||||
can.user.isLocalFile? init(): can.run({}, [chat.CHECK], function(msg) {
|
||||
can.Conf(aaa.USERNICK, msg.Option(ice.MSG_USERNICK))? init():
|
||||
can.Conf(aaa.USERNICK, msg.Option(ice.MSG_USERNICK)||msg.Option(ice.MSG_USERNAME))? init():
|
||||
msg.Option(chat.SSO)? can.user.jumps(msg.Option(chat.SSO)):
|
||||
can.user.login(can, init, msg.Option(aaa.LOGIN))
|
||||
})
|
||||
|
@ -40,6 +40,9 @@ fieldset.word>div.navmenu div.list {
|
||||
fieldset.word a {
|
||||
word-break:break-word;
|
||||
}
|
||||
fieldset.word fieldset.story>legend {
|
||||
display:block;
|
||||
}
|
||||
fieldset.word ul.story[data-type=premenu] {
|
||||
cursor:pointer;
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
|
||||
},
|
||||
field: function(can, data, target) { var item = can.base.Obj(data.meta)
|
||||
item.width = parseInt(can.Conf("width")||window.innerWidth-20), item.height = parseInt(can.Conf("height")||window.innerHeight)
|
||||
item.type = "story"
|
||||
item.type = chat.PLUGIN
|
||||
can.onappend._init(can, item, ["/plugin/state.js"], function(sub) {
|
||||
sub.run = function(event, cmds, cb, silent) {
|
||||
can.run(event, can.misc.Concat([ctx.ACTION, "story", data.type, data.name, data.text], cmds), cb, true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user