mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-09 03:22:51 +08:00
修复更新错误
This commit is contained in:
@@ -37,7 +37,7 @@ class AdminUpdateServiceBase
|
|||||||
|
|
||||||
public function __construct($type = 'ulthon_admin')
|
public function __construct($type = 'ulthon_admin')
|
||||||
{
|
{
|
||||||
if ($type == 'ulthon_admin') {
|
if ($type == 'ulthon_admin' || $type == null) {
|
||||||
$this->useRepo = self::REPO;
|
$this->useRepo = self::REPO;
|
||||||
$this->useVersion = Version::VERSION;
|
$this->useVersion = Version::VERSION;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user