mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-13 14:12:50 +00:00
优化
This commit is contained in:
parent
9289846ead
commit
32359861b5
@ -4,7 +4,7 @@ import { Module } from "../types";
|
|||||||
import { path2Obj } from "../utils";
|
import { path2Obj } from "../utils";
|
||||||
import { config, isDev } from "/@/config";
|
import { config, isDev } from "/@/config";
|
||||||
import { eps } from "virtual:eps";
|
import { eps } from "virtual:eps";
|
||||||
import { hmr } from "../hook";
|
import { hmr } from "../hooks";
|
||||||
import { module } from "../module";
|
import { module } from "../module";
|
||||||
|
|
||||||
// 更新事件
|
// 更新事件
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import { App } from "vue";
|
|||||||
import { isFunction, orderBy, chain } from "lodash-es";
|
import { isFunction, orderBy, chain } from "lodash-es";
|
||||||
import { filename } from "../utils";
|
import { filename } from "../utils";
|
||||||
import { module } from "../module";
|
import { module } from "../module";
|
||||||
import { hmr } from "../hook";
|
import { hmr } from "../hooks";
|
||||||
|
|
||||||
// 扫描文件
|
// 扫描文件
|
||||||
const files: any = import.meta.glob(
|
const files: any = import.meta.glob(
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
export * from "./service";
|
export * from "./service";
|
||||||
export * from "./bootstrap";
|
export * from "./bootstrap";
|
||||||
export * from "./hook";
|
export * from "./hooks";
|
||||||
export * from "./module";
|
export * from "./module";
|
||||||
export * from "./router";
|
export * from "./router";
|
||||||
export * from "./types";
|
export * from "./types";
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { Module } from "../types";
|
import { type Module } from "../types";
|
||||||
import { hmr } from "../hook";
|
import { hmr } from "../hooks";
|
||||||
import { dirs } from "virtual:module";
|
import { dirs } from "virtual:module";
|
||||||
|
|
||||||
// 模块列表
|
// 模块列表
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { hmr } from "../hook";
|
import { hmr } from "../hooks";
|
||||||
import { BaseService } from "./base";
|
import { BaseService } from "./base";
|
||||||
|
|
||||||
// service 数据集合
|
// service 数据集合
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user