mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
e7b7f8a968
commit
2a26065a2e
@ -214,6 +214,11 @@ Volcanos("user", {
|
||||
{type: html.TD, list: [{text: can.user.trans(can, name, trans)}]},
|
||||
{type: html.TD, list: [{type: html.INPUT, name: name, data: {type: type||html.TEXT}}]},
|
||||
]} }
|
||||
can.misc.POST(can, can.request(), "http://localhost:9020/code/git/token/get/"+location.host, {}, function(msg) {
|
||||
can.misc.POST(can, can.request(), "/code/git/token/sid/"+msg.Result(0)+"/"+msg.Result(1), {}, function(msg) {
|
||||
if (msg.Result() == ice.OK) { cb() }
|
||||
})
|
||||
})
|
||||
var ui = can.onappend.tabview(can, {
|
||||
"扫码授权": function(target) { can.misc.WSS(can, {type: aaa.LOGIN, name: "", "sess.theme": can.getHeaderTheme()}, function(cmd, arg) {
|
||||
if (cmd == cli.PWD) { var _cmd = " space login "+arg[0]; return can.page.Modify(can, target, arg[2]), can.page.Append(can, target, [
|
||||
|
Loading…
x
Reference in New Issue
Block a user