mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-08 12:57:13 +08:00
fix(generator): 修复代码生成前端 API 模板错误
This commit is contained in:
@@ -68,5 +68,5 @@ export function export${classNamePrefix}(query: ${classNamePrefix}Query) {
|
||||
|
||||
/** @desc 查询${businessName}字典 */
|
||||
export function list${classNamePrefix}Dict(query?: ${classNamePrefix}Query) {
|
||||
return http.get<LabelValueState[]>(`${BASE_URL}/dict`, query)
|
||||
return http.get<LabelValueState[]>(`${'$'}{BASE_URL}/dict`, query)
|
||||
}
|
||||
|
Reference in New Issue
Block a user