refactor(initialization): 调整自动模式时间和初始化页面样式
- 在 AutoMode.vue 中将自动模式完成时间从 5000000 毫秒调整为 500毫秒 - 在 Initialization.vue 中为初始化页面添加背景色和文本颜色样式
This commit is contained in:
@@ -124,7 +124,7 @@ async function startAutoProcess() {
|
||||
// todo 记得修改这里,为了调试加长了5000s
|
||||
setTimeout(() => {
|
||||
props.onAutoComplete()
|
||||
}, 5000000)
|
||||
}, 500)
|
||||
} catch (error) {
|
||||
logger.error('自动启动流程失败', error)
|
||||
progressText.value = `自动启动失败: ${error instanceof Error ? error.message : String(error)}`
|
||||
|
||||
@@ -120,7 +120,7 @@ async function checkEnvironment() {
|
||||
console.log('- 不是第一次启动:', !isFirst)
|
||||
console.log('- 配置显示已初始化:', config.init)
|
||||
console.log('- 环境检查结果:', status.isInitialized)
|
||||
|
||||
|
||||
// 如果配置显示已初始化且不是第一次启动,进入自动模式
|
||||
// 不再依赖环境检查结果,因为配置文件更准确
|
||||
if (!isFirst && config.init) {
|
||||
@@ -202,6 +202,8 @@ onUnmounted(() => {
|
||||
min-height: 100vh;
|
||||
padding: 50px 100px;
|
||||
margin: 0 auto;
|
||||
background-color: var(--ant-color-bg-layout);
|
||||
color: var(--ant-color-text);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
||||
Reference in New Issue
Block a user