1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00

opt web.serve

This commit is contained in:
harveyshao 2022-11-28 20:32:56 +08:00
parent d308b90c7f
commit fd72021cba

View File

@ -234,7 +234,7 @@ Volcanos("user", {info: {}, agent: {
]} }
var ui = can.onappend.tabview(can, {
"扫码授权": function(target) { can.misc.WSS(can, {type: aaa.LOGIN}, function(cmd, arg) {
"扫码授权": function(target) { can.misc.WSS(can, {type: aaa.LOGIN, name: ""}, function(cmd, arg) {
if (cmd == cli.PWD) { return can.page.Modify(can, target, arg[2]), can.page.Append(can, target, [{text: "<br/>请授权: "+arg[0]}]), layout() }
if (cmd == ice.MSG_SESSID) { return can.misc.CookieSessid(can, arg[0]), can.page.Remove(can, ui._target), can.base.isFunc(cb) && cb() }
}) },