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