!462 fix: 代码生成:Vue3标准模板问题修复。

This commit is contained in:
YunaiV 2023-04-22 19:01:11 +08:00
parent 38462fbcf8
commit 8c65afc56a
4 changed files with 11 additions and 3 deletions

View File

@ -1,4 +1,5 @@
import request from '@/config/axios'
#set ($baseURL = "/${table.moduleName}/${simpleClassName_strikeCase}")
export interface ${simpleClassName}VO {
#foreach ($column in $columns)
@ -14,8 +15,6 @@ export interface ${simpleClassName}VO {
#end
}
const baseURL = '/${table.moduleName}/${simpleClassName_strikeCase}'
// 查询${table.classComment}列表
export const get${simpleClassName}Page = async (params: ${simpleClassName}PageReqVO) => {
return await request.get({ url: `${baseURL}/page`, params })

View File

@ -1,4 +1,5 @@
import request from '@/config/axios'
#set ($baseURL = "/${table.moduleName}/${simpleClassName_strikeCase}")
export interface ${simpleClassName}VO {
#foreach ($column in $columns)

View File

@ -1,5 +1,5 @@
import { defHttp } from '@/utils/http/axios'
#set ($baseURL = "/${table.moduleName}/${simpleClassName_strikeCase}")
// 查询${table.classComment}列表
export function get${simpleClassName}Page(params) {

View File

@ -83,6 +83,14 @@
</div>
</div>
</el-form-item>
<!-- 教程说明 -->
<el-form-item style="width:100%; margin-top:-25px">
<router-link to="https://doc.iocoder.cn/">📚开发指南</router-link>
<router-link to="https://doc.iocoder.cn/video/" style="padding-left: 10px">🔥视频教程</router-link>
<router-link to="https://www.iocoder.cn/Interview/good-collection/" style="padding-left: 10px">面试手册</router-link>
<router-link to="http://static.yudao.iocoder.cn/mp/Aix9975.jpeg" style="padding-left: 10px">🤝外包咨询</router-link>
</el-form-item>
</el-form>
</div>
</div>