diff --git a/src/cool/modules/test/components/about.vue b/src/cool/modules/test/components/about.vue
deleted file mode 100644
index 40d3044..0000000
--- a/src/cool/modules/test/components/about.vue
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-
-
-
COOL-ADMIN 一个很酷的后台权限管理框架
-
开源免费可商用、快速开发、模块化、插件化
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/cool/modules/test/components/index.ts b/src/cool/modules/test/components/index.ts
deleted file mode 100644
index 9e37562..0000000
--- a/src/cool/modules/test/components/index.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import About from "./about.vue";
-
-export default {
- About
-};
-
-// 导出的组件会以 name 参数命名全局注册,当前为: cl-about
diff --git a/src/cool/modules/test/directives/index.ts b/src/cool/modules/test/directives/index.ts
deleted file mode 100644
index 08dd2c8..0000000
--- a/src/cool/modules/test/directives/index.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-// 参考官方例子 https://v3.vuejs.org/guide/custom-directive.html
-
-export default {
- // 聚焦元素
- focus: {
- mounted(el) {
- el.focus();
- }
- }
-};
-
-// 在模块中使用
-//
diff --git a/src/cool/modules/test/index.ts b/src/cool/modules/test/index.ts
deleted file mode 100644
index 9684a62..0000000
--- a/src/cool/modules/test/index.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import components from "./components";
-import directives from "./directives";
-import pages from "./pages";
-import service from "./service";
-import store from "./store";
-import views from "./views";
-
-export default {
- install() {
- return {
- components,
- directives,
- pages,
- service,
- store,
- views
- };
- }
-};
diff --git a/src/cool/modules/test/pages/about.vue b/src/cool/modules/test/pages/about.vue
deleted file mode 100644
index 364bb4c..0000000
--- a/src/cool/modules/test/pages/about.vue
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/src/cool/modules/test/pages/index.ts b/src/cool/modules/test/pages/index.ts
deleted file mode 100644
index cdbbf0c..0000000
--- a/src/cool/modules/test/pages/index.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-// 导出的列表会自动注册到路由中
-
-export default [
- {
- path: "/test-pages/about", // 路由地址
- component: () => import("./about.vue") // 组件实例
- }
-];
diff --git a/src/cool/modules/test/service/index.ts b/src/cool/modules/test/service/index.ts
deleted file mode 100644
index bd271d2..0000000
--- a/src/cool/modules/test/service/index.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import Test from "./test";
-
-export default {
- test: new Test()
-};
diff --git a/src/cool/modules/test/service/test.ts b/src/cool/modules/test/service/test.ts
deleted file mode 100644
index 22adc01..0000000
--- a/src/cool/modules/test/service/test.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import { BaseService, Service, Permission } from "/@/core";
-
-@Service("test")
-class Test extends BaseService {
- // 继承后可使用:page、list、add、delete、update、info 6个基本接口
-
- // 添加其他接口
- @Permission("batchAdd") // 是否需要权限控制,建议参数与请求地址保持一致
- batchAdd(params: any): Promise {
- return this.request({
- url: "/batchAdd",
- method: "GET",
- params
- // 参数与 axios 一致
- });
- }
-}
-
-export default Test;
diff --git a/src/cool/modules/test/store/calc.ts b/src/cool/modules/test/store/calc.ts
deleted file mode 100644
index 7be1bf2..0000000
--- a/src/cool/modules/test/store/calc.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-// 参考官方例子 https://vuex.vuejs.org/zh/
-
-export default {
- state: {
- count: 0
- },
- mutations: {
- increment(state: any) {
- state.count++;
- }
- },
- actions: {}
-};
diff --git a/src/cool/modules/test/store/index.ts b/src/cool/modules/test/store/index.ts
deleted file mode 100644
index 9513ead..0000000
--- a/src/cool/modules/test/store/index.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import calc from "./calc";
-
-export default {
- calc
-};
-
-// 导出后会以 模块名-calc 命名注册
diff --git a/src/cool/modules/test/views/about.vue b/src/cool/modules/test/views/about.vue
deleted file mode 100644
index 364bb4c..0000000
--- a/src/cool/modules/test/views/about.vue
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/src/cool/modules/test/views/index.ts b/src/cool/modules/test/views/index.ts
deleted file mode 100644
index ed088e4..0000000
--- a/src/cool/modules/test/views/index.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-// 导出的列表会自动注册到 "/" 子路由中
-
-export default [
- {
- path: "/test-views/about", // 路由地址
- component: () => import("./about.vue"), // 组件实例
- meta: {
- keepAlive: true, // 是否缓存路由
- label: "关于 cool-admin" // 路由名称
- }
- }
-];
diff --git a/src/cool/modules/upload/components/index.vue b/src/cool/modules/upload/components/index.vue
index af5f9d0..0100256 100644
--- a/src/cool/modules/upload/components/index.vue
+++ b/src/cool/modules/upload/components/index.vue
@@ -108,9 +108,8 @@