vel = document.getElementById('log_level').value;
            config.log_retention_days = parseInt(document.getElementById('log_retention_days').value);

            // 生成 JSON 字符串
            const configString = JSON.stringify(config, null, 2);

            // 显示在页面上
            document.getElementById('configOutput').textContent = configString;
        });


        // 复制到剪贴板
        document.getElementById('copyConfig').addEventListener('click', () => {
            cons