fix(更新日志): 面板随指定版本下拉联动;本机已是最新时展示本机条目
- 「指定版本更新」下拉选中版本时日志切到该版本自身的条目(升级/回退统一语义), 未收录显示"暂无更新说明"(区块不消失),选回空项回默认区间; 列表加载后自动默认选中第一条不触发切换 - 本机版本==线上最新时回退显示本机版本条目(原来整块消失),灰度/回滚仍隐藏 - 精简 4.0.20/4.0.21 超长文案,修复既有红测试(更新说明限 40 字)
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="update-hint">{{ hint }}</div>
|
||||
<UpdateLogList :entries="changelog" />
|
||||
<UpdateLogList :entries="changelog" :empty-text="changelogEmptyText" />
|
||||
<UpdateProgressBar :progress="progress" />
|
||||
<div v-if="hasUpdate || canDownload" style="margin-top: 4px;">
|
||||
<button type="button" class="btn-download-update" :disabled="updating" @click="doUpdate">
|
||||
@@ -38,6 +38,7 @@
|
||||
:updating="updating"
|
||||
@reload="loadVersions(true)"
|
||||
@update="doUpdateVersion"
|
||||
@select="setSelectedVersion"
|
||||
/>
|
||||
</div>
|
||||
<NotificationBell theme="light" />
|
||||
@@ -92,6 +93,8 @@ const {
|
||||
checked,
|
||||
progress,
|
||||
changelog,
|
||||
changelogEmptyText,
|
||||
setSelectedVersion,
|
||||
versions,
|
||||
versionListLoading,
|
||||
versionListError,
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<div class="update-hint">{{ hint }}</div>
|
||||
<UpdateLogList :entries="changelog" />
|
||||
<UpdateLogList :entries="changelog" :empty-text="changelogEmptyText" />
|
||||
<UpdateProgressBar :progress="progress" />
|
||||
<VersionPicker
|
||||
:versions="versions"
|
||||
@@ -41,6 +41,7 @@
|
||||
:updating="updating"
|
||||
@reload="loadVersions(true)"
|
||||
@update="doUpdateVersion"
|
||||
@select="setSelectedVersion"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -148,6 +149,8 @@ const {
|
||||
checked,
|
||||
progress,
|
||||
changelog,
|
||||
changelogEmptyText,
|
||||
setSelectedVersion,
|
||||
versions,
|
||||
versionListLoading,
|
||||
versionListError,
|
||||
|
||||
Reference in New Issue
Block a user