From 33b6ea9551ebdb1863ca34c33b6c10cdea43c78b Mon Sep 17 00:00:00 2001 From: huzhushan Date: Fri, 16 Apr 2021 12:34:02 +0800 Subject: [PATCH] update --- src/components/ProTable/index.vue | 494 ++++++++++++++++++++++++++++++ src/globalComponents.js | 3 +- src/main.js | 3 - src/views/test/index.vue | 4 +- 4 files changed, 498 insertions(+), 6 deletions(-) create mode 100644 src/components/ProTable/index.vue diff --git a/src/components/ProTable/index.vue b/src/components/ProTable/index.vue new file mode 100644 index 0000000..fdf41af --- /dev/null +++ b/src/components/ProTable/index.vue @@ -0,0 +1,494 @@ + + + + diff --git a/src/globalComponents.js b/src/globalComponents.js index 0f63008..51baff4 100644 --- a/src/globalComponents.js +++ b/src/globalComponents.js @@ -1 +1,2 @@ -export { default as SvgIcon } from "@/components/SvgIcon/index.vue"; \ No newline at end of file +export { default as SvgIcon } from "@/components/SvgIcon/index.vue"; +export { default as ProTable } from "@/components/ProTable/index.vue"; \ No newline at end of file diff --git a/src/main.js b/src/main.js index dfdab07..cd55fed 100644 --- a/src/main.js +++ b/src/main.js @@ -28,8 +28,5 @@ Object.entries(Components).forEach(([key, component]) => { app.component(key, component) }) -// 引入vue3-pro-table -import Vue3ProTable from "vue3-pro-table"; -app.use(Vue3ProTable); app.use(ElementPlus, { locale }).use(store).use(router).mount('#app') diff --git a/src/views/test/index.vue b/src/views/test/index.vue index 3202712..8d5e663 100644 --- a/src/views/test/index.vue +++ b/src/views/test/index.vue @@ -1,5 +1,5 @@ - +