代码生成时,前端 vue 增加组件名

This commit is contained in:
YunaiV
2023-04-09 21:32:26 +08:00
parent caeb23a3dc
commit 0e3904b613
2 changed files with 3 additions and 3 deletions

View File

@ -178,7 +178,7 @@
<${simpleClassName}Form ref="formRef" @success="getList" />
</template>
<script setup lang="ts" name="${simpleClassName}">
<script setup lang="ts" name="${table.className}">
#if ($dictMethods.size() > 0)
import { DICT_TYPE#foreach ($dictMethod in $dictMethods), ${dictMethod}#end } from '@/utils/dict'
#end