mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-21 22:55:36 +00:00
refactor:在文件冲突处理完毕后再执行模块启用脚本
This commit is contained in:
parent
180b0007c5
commit
3ed549ecdc
@ -274,13 +274,14 @@ class Manage
|
||||
|
||||
public function enable(string $trigger)
|
||||
{
|
||||
// 执行启用脚本
|
||||
Server::execEvent($this->uid, 'enable');
|
||||
|
||||
// 安装 WebBootstrap
|
||||
Server::installWebBootstrap($this->uid, $this->modulesDir);
|
||||
|
||||
$this->conflictHandle($trigger);
|
||||
|
||||
// 执行启用脚本
|
||||
Server::execEvent($this->uid, 'enable');
|
||||
|
||||
$this->dependUpdateHandle();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user