refactor(module): 修改 API 导入路径
- 将 API导入路径从 "@/api/${kebabCaseEntityName}" 修改为 "@/api/${moduleName}/${kebabCaseEntityName}"
- 此修改提高了项目结构的可维护性和可扩展性
This commit is contained in:
@@ -256,7 +256,7 @@
|
|||||||
inheritAttrs: false,
|
inheritAttrs: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
import ${entityName}API, { ${entityName}PageVO, ${entityName}Form, ${entityName}PageQuery } from "@/api/${kebabCaseEntityName}";
|
import ${entityName}API, { ${entityName}PageVO, ${entityName}Form, ${entityName}PageQuery } from "@/api/${moduleName}/${kebabCaseEntityName}";
|
||||||
|
|
||||||
const queryFormRef = ref(ElForm);
|
const queryFormRef = ref(ElForm);
|
||||||
const dataFormRef = ref(ElForm);
|
const dataFormRef = ref(ElForm);
|
||||||
|
|||||||
Reference in New Issue
Block a user