Commit 8c65afc56aed2aeb173c5de690b64a9af27c4153
1 parent
38462fbc
!462 fix: 代码生成:Vue3标准模板问题修复。
Showing
4 changed files
with
11 additions
and
3 deletions
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/api/api.ts.vm
| 1 | import request from '@/config/axios' | 1 | import request from '@/config/axios' |
| 2 | +#set ($baseURL = "/${table.moduleName}/${simpleClassName_strikeCase}") | ||
| 2 | 3 | ||
| 3 | export interface ${simpleClassName}VO { | 4 | export interface ${simpleClassName}VO { |
| 4 | #foreach ($column in $columns) | 5 | #foreach ($column in $columns) |
| @@ -14,8 +15,6 @@ export interface ${simpleClassName}VO { | @@ -14,8 +15,6 @@ export interface ${simpleClassName}VO { | ||
| 14 | #end | 15 | #end |
| 15 | } | 16 | } |
| 16 | 17 | ||
| 17 | -const baseURL = '/${table.moduleName}/${simpleClassName_strikeCase}' | ||
| 18 | - | ||
| 19 | // 查询${table.classComment}列表 | 18 | // 查询${table.classComment}列表 |
| 20 | export const get${simpleClassName}Page = async (params: ${simpleClassName}PageReqVO) => { | 19 | export const get${simpleClassName}Page = async (params: ${simpleClassName}PageReqVO) => { |
| 21 | return await request.get({ url: `${baseURL}/page`, params }) | 20 | return await request.get({ url: `${baseURL}/page`, params }) |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_schema/api/api.ts.vm
| 1 | import request from '@/config/axios' | 1 | import request from '@/config/axios' |
| 2 | +#set ($baseURL = "/${table.moduleName}/${simpleClassName_strikeCase}") | ||
| 2 | 3 | ||
| 3 | export interface ${simpleClassName}VO { | 4 | export interface ${simpleClassName}VO { |
| 4 | #foreach ($column in $columns) | 5 | #foreach ($column in $columns) |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/api/api.ts.vm
| 1 | import { defHttp } from '@/utils/http/axios' | 1 | import { defHttp } from '@/utils/http/axios' |
| 2 | - | 2 | +#set ($baseURL = "/${table.moduleName}/${simpleClassName_strikeCase}") |
| 3 | 3 | ||
| 4 | // 查询${table.classComment}列表 | 4 | // 查询${table.classComment}列表 |
| 5 | export function get${simpleClassName}Page(params) { | 5 | export function get${simpleClassName}Page(params) { |
yudao-ui-admin/src/views/login.vue
| @@ -83,6 +83,14 @@ | @@ -83,6 +83,14 @@ | ||
| 83 | </div> | 83 | </div> |
| 84 | </div> | 84 | </div> |
| 85 | </el-form-item> | 85 | </el-form-item> |
| 86 | + | ||
| 87 | + <!-- 教程说明 --> | ||
| 88 | + <el-form-item style="width:100%; margin-top:-25px"> | ||
| 89 | + <router-link to="https://doc.iocoder.cn/">📚开发指南</router-link> | ||
| 90 | + <router-link to="https://doc.iocoder.cn/video/" style="padding-left: 10px">🔥视频教程</router-link> | ||
| 91 | + <router-link to="https://www.iocoder.cn/Interview/good-collection/" style="padding-left: 10px">⚡面试手册</router-link> | ||
| 92 | + <router-link to="http://static.yudao.iocoder.cn/mp/Aix9975.jpeg" style="padding-left: 10px">🤝外包咨询</router-link> | ||
| 93 | + </el-form-item> | ||
| 86 | </el-form> | 94 | </el-form> |
| 87 | </div> | 95 | </div> |
| 88 | </div> | 96 | </div> |