fix: 修复文本取件问题

This commit is contained in:
lan
2024-05-06 13:02:00 +08:00
parent f4abf130d2
commit 8215ef9e4b
37 changed files with 27 additions and 43 deletions
+2 -2
View File
@@ -61,8 +61,8 @@ function renderMarkdown(message: string) {
return md.render(message);
}
function getQrCodeUrl(code:string) {
return code.startsWith('http') ? code : window.location.origin + code;
function getQrCodeUrl(code: string) {
return code.toString().startsWith('http') ? code : window.location.origin + code;
}
</script>