This commit is contained in:
ichynul 2021-08-18 10:40:27 +08:00
parent ca34958baf
commit f6bd9a255f
1 changed files with 3 additions and 3 deletions

View File

@ -30,12 +30,12 @@ class Setup
$tplPath = $rootPath . implode(DIRECTORY_SEPARATOR, ['src', 'admin', 'view', 'tpl', '']);
config('dispatch_success_tmpl', $tplPath . 'dispatch_jump.tpl');
config('dispatch_error_tmpl', $tplPath . 'dispatch_jump.tpl');
$config = [];
if (Module::isInstalled()) {
config('dispatch_success_tmpl', $tplPath . 'dispatch_jump.tpl');
config('dispatch_error_tmpl', $tplPath . 'dispatch_jump.tpl');
$config = $instance->getConfig();
} else {
$config = $instance->defaultConfig();