Release LaySite 1.4.0 canvas editing and layers

This commit is contained in:
2026-11-26 01:28:51 +08:00
parent d5bedabaa1
commit 2e9b5fa17c
19 changed files with 915 additions and 227 deletions
+6 -4
View File
@@ -9,12 +9,14 @@ jQuery(function ($) {
$updateStatus.text('正在查询上游仓库…');
$.ajax({url: '/admin/about/update', dataType: 'json', timeout: 7500})
.done(({current, latest, comparison}) => {
if (comparison > 0) {
$updateStatus.text('发现新版本 ' + latest + ',当前版本为 ' + current + '。');
if (latest === null) {
$updateStatus.text('上游仓库暂无已发布版本。');
} else if (comparison > 0) {
$updateStatus.text('发现已发布的新版本 ' + latest + ',当前版本为 ' + current + '。');
} else if (comparison < 0) {
$updateStatus.text('当前版本 ' + current + ' 高于上游版本 ' + latest + '。');
$updateStatus.text('当前版本 ' + current + ' 高于上游最新已发布版本 ' + latest + '。');
} else {
$updateStatus.text('当前版本 ' + current + ' 已与上游仓库一致。');
$updateStatus.text('当前版本 ' + current + ' 已是上游最新发布版本。');
}
})
.fail(({status, responseJSON}) => {