From b72eabf2fb3f0961e80c436086f40de7a2dd2102 Mon Sep 17 00:00:00 2001 From: shy Date: Mon, 3 Jun 2024 18:36:22 +0800 Subject: [PATCH] add some --- panel/header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel/header.js b/panel/header.js index ee09a1b9..51767abf 100644 --- a/panel/header.js +++ b/panel/header.js @@ -140,7 +140,7 @@ Volcanos(chat.ONACTION, {_init: function(can) {}, theme: function(event, can) { can.page.Select(can, can._output, "div.item.theme>i:first-child", function(target) { can.onimport.theme(can, can.onimport._theme(can, target.className == icon.SUN? html.DARK: html.LIGHT), event) }) }, - qrcode: function(event, can) { can.user.share(can, can.request(event, {_handle: ice.TRUE}), [ctx.ACTION, cli.QRCODE]) }, + qrcode: function(event, can) { can.user.share(can, can.request(event, {link: location.href, _handle: ice.TRUE}), [ctx.ACTION, cli.QRCODE]) }, language: function(event, can) { can.onimport.language(can, can.user.info.language.indexOf("zh") == 0? "en-us": "zh-cn") }, email: function(event, can) { can.user.input(can.request(event, {to: can.user.info.email, subject: can.user.title()}), can, [{name: "to", _trans: "收件人", need: "must"}, "subject","content"], function(args) { can.runAction(event, aaa.EMAIL, args, function() { can.user.toastSuccess(can) })