Skip to content

Commit 7f05453

Browse files
committed
fix(generator): 修复代码生成前端 API 模板错误
1 parent 93d8168 commit 7f05453

File tree

1 file changed

+1
-1
lines changed
  • continew-plugin/continew-plugin-generator/src/main/resources/templates/frontend

1 file changed

+1
-1
lines changed

continew-plugin/continew-plugin-generator/src/main/resources/templates/frontend/api.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ export function export${classNamePrefix}(query: ${classNamePrefix}Query) {
6868

6969
/** @desc 查询${businessName}字典 */
7070
export function list${classNamePrefix}Dict(query?: ${classNamePrefix}Query) {
71-
return http.get<LabelValueState[]>(`${BASE_URL}/dict`, query)
71+
return http.get<LabelValueState[]>(`${'$'}{BASE_URL}/dict`, query)
7272
}

0 commit comments

Comments
 (0)