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