diff --git a/packages/agTable/src/index.vue b/packages/agTable/src/index.vue index a261a3a..a7050c1 100644 --- a/packages/agTable/src/index.vue +++ b/packages/agTable/src/index.vue @@ -1,42 +1,66 @@ + \ No newline at end of file diff --git a/packages/index.js b/packages/index.js index 787f3e2..b95dbeb 100644 --- a/packages/index.js +++ b/packages/index.js @@ -1,13 +1,15 @@ // 导入组件 - import agInput from './agInput/index' - import agSelect from './agSelect/index' + import agInput from './agInput/index'; + import agSelect from './agSelect/index'; + import agUpdate from './agUpload'; // 注册组件 // 组件列表 const components = [ agInput, - agSelect + agSelect, + agUpdate ] // 定义 install 方法,接收 Vue 作为参数(使用 use 注册插件,那么所有的组件都会被注册) @@ -30,5 +32,6 @@ export { // 以下是具体的组件列表 agInput, - agSelect + agSelect, + agUpdate } \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 74931f9..4f347f9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -39,7 +39,7 @@ > - + @@ -47,6 +47,9 @@
{{row.date}}
+ + +