diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 3c01a29f..258d4154 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -299,12 +299,12 @@ + :href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs.join('\n'))" download="x-ui.log"> {{ i18n "download" }} x-ui.log -
+
0 ? this.formatLogs(logs) : "No Record..."; }, formatLogs(logs) { let formattedLogs = '';