diff --git a/lib/user.js b/lib/user.js index db9fe79b..7e691316 100644 --- a/lib/user.js +++ b/lib/user.js @@ -118,7 +118,10 @@ Volcanos("user", {help: "用户操作", agent: { can.search(event, msg["detail"]||[], function(msg) { msg.Reply() }) }) }, - }[button]() }, ["登录", "扫码"]) + "飞书": function() { + location.href = "/chat/lark/sso" + }, + }[button]() }, ["登录", "扫码", "飞书"]) can.page.Modify(can, ui._target, {className: "input login", style: {left: (window.innerWidth-ui._target.offsetWidth)/2, top: window.innerHeight/6}}) },