diff --git a/web/html/xui/index.html b/web/html/xui/index.html
index 1c3132d6..90c45b85 100644
--- a/web/html/xui/index.html
+++ b/web/html/xui/index.html
@@ -325,7 +325,7 @@
+ :href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs.join('\n'))" download="x-ui.log">
@@ -457,7 +457,7 @@
const logModal = {
visible: false,
- logs: '',
+ logs: [],
rows: 20,
level: 'info',
syslog: false,