Просмотр исходного кода

fix: 更新版本号格式要求,确保用户输入符合标准

QLHazyCoder 4 месяцев назад
Родитель
Сommit
af77e439ae
2 измененных файлов с 1 добавлено и 5 удалено
  1. 1 1
      docs/AI版本发布标准流程.md
  2. 0 4
      sidepanel/sidepanel.js

+ 1 - 1
docs/AI版本发布标准流程.md

@@ -73,7 +73,7 @@ if (-not (Test-Path $GH)) {
 }
 
 $Repo = 'QLHazyCoder/codex-oauth-automation-extension'
-$TargetVersion = '<用户指定的版本号,例如 6.5.0>'
+$TargetVersion = '<用户指定的版本号,但是必须按照版本标准写,v+x.x.x。比如: v6.5.0>'
 $TargetTag = "v$TargetVersion"
 $ManifestPath = 'manifest.json'
 ```

+ 0 - 4
sidepanel/sidepanel.js

@@ -767,10 +767,6 @@ function renderScheduledAutoRunInfo() {
     ? `${countdown.note ? `${countdown.note},` : ''}剩余 ${formatCountdown(remainingMs)}`
     : '倒计时即将结束,正在准备继续...';
   return;
-  autoScheduleTitle.textContent = '已计划自动运行';
-  autoScheduleMeta.textContent = remainingMs > 0
-    ? `计划于 ${formatScheduleTime(currentAutoRun.scheduledAt)} 开始,剩余 ${formatCountdown(remainingMs)}`
-    : '倒计时即将结束,正在准备启动...';
 }
 
 function syncScheduledCountdownTicker() {