fix: 修复文本取件问题

This commit is contained in:
lan committed 2024-05-06 13:02:00 +08:00
1 parent b365938937
commit f79be8a111
37 files changed
+27 -43

No files matched your search

+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>