mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
0590f1cf08
commit
58a4fcf7ec
@ -159,7 +159,7 @@ Volcanos("user", {help: "用户操作", agent: {
|
|||||||
"飞书": function() { location.href = "/chat/lark/sso" },
|
"飞书": function() { location.href = "/chat/lark/sso" },
|
||||||
}; if (auto) { return list["授权"]() }
|
}; if (auto) { return list["授权"]() }
|
||||||
|
|
||||||
var ui = can.user.input({}, can, [{type: html.USERNAME}, {type: html.PASSWORD}], function(event, button, data) { return list[button](event, button, data) }, can.base.Obj(method, ["登录", "扫码", "授权"]))
|
var ui = can.user.input({}, can, [{type: html.USERNAME}, {type: html.PASSWORD}], function(event, button, data) { return list[button](event, button, data) }, can.base.Obj(method, ["登录", "扫码"]))
|
||||||
can.page.Modify(can, ui._target, {className: "input login", style: {left: (window.innerWidth-ui._target.offsetWidth)/2, top: window.innerHeight/6}})
|
can.page.Modify(can, ui._target, {className: "input login", style: {left: (window.innerWidth-ui._target.offsetWidth)/2, top: window.innerHeight/6}})
|
||||||
},
|
},
|
||||||
logout: function(can, force) { if (force||can.user.confirm("logout?")) {
|
logout: function(can, force) { if (force||can.user.confirm("logout?")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user