mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 03:22:51 +08:00
修复更新提示逻辑
This commit is contained in:
@@ -298,11 +298,11 @@ class AdminUpdateServiceBase
|
|||||||
|
|
||||||
// 为用户整理出要手动调整的composer命令
|
// 为用户整理出要手动调整的composer命令
|
||||||
|
|
||||||
$this->cleanWorkpaceDir();
|
|
||||||
$output->writeln('更新完成');
|
$output->writeln('更新完成');
|
||||||
// 更新完成
|
// 更新完成
|
||||||
|
|
||||||
$update_tips = include $last_version_dir . '/config/tips.php';
|
$update_tips = include $last_version_dir . '/extend/base/admin/service/adminUpdateData/tips.php';
|
||||||
|
|
||||||
// 按照版本号排序
|
// 按照版本号排序
|
||||||
usort($update_tips, function ($a, $b) {
|
usort($update_tips, function ($a, $b) {
|
||||||
@@ -321,6 +321,8 @@ class AdminUpdateServiceBase
|
|||||||
$output->writeln($desc);
|
$output->writeln($desc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->cleanWorkpaceDir();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function cleanWorkpaceDir()
|
protected function cleanWorkpaceDir()
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ use think\console\Output;
|
|||||||
|
|
||||||
class VersionBase extends Command
|
class VersionBase extends Command
|
||||||
{
|
{
|
||||||
public const VERSION = 'v2.0.62';
|
public const VERSION = 'v2.0.63';
|
||||||
|
|
||||||
public const LAYUI_VERSION = '2.8.17';
|
public const LAYUI_VERSION = '2.8.17';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user