diff --git a/app/common/service/generator/core/VueApiGenerator.php b/app/common/service/generator/core/VueApiGenerator.php index aba12d4..1d86cd2 100644 --- a/app/common/service/generator/core/VueApiGenerator.php +++ b/app/common/service/generator/core/VueApiGenerator.php @@ -79,7 +79,7 @@ class VueApiGenerator extends BaseGenerator implements GenerateInterface { $content = $this->getTableName(); if (!empty($this->classDir)) { - $content = $this->classDir . '.' . $this->getTableName(); + $content = $this->classDir . '/' . Str::camel($this->getTableName()); } return Str::lower($content); }