diff --git a/src/components/Forms/index.vue b/src/components/Forms/index.vue new file mode 100644 index 0000000..f86f1a6 --- /dev/null +++ b/src/components/Forms/index.vue @@ -0,0 +1,107 @@ + + + + + + + + + + + + + 提交 + 重置 + + + + + + + + diff --git a/src/components/Search/index.vue b/src/components/Search/index.vue new file mode 100644 index 0000000..ec79f16 --- /dev/null +++ b/src/components/Search/index.vue @@ -0,0 +1,84 @@ + + + + + + + + + + + 搜索 + 重置 + + + + + + + + diff --git a/src/main.js b/src/main.js index e6e2248..501b6a8 100644 --- a/src/main.js +++ b/src/main.js @@ -38,9 +38,10 @@ import VueMeta from 'vue-meta' // 字典数据组件 import DictData from '@/components/DictData' // tab组件 -import TabComponent from '@/components/TabComponent' -// import webSite from "@/config/website"; +import TabComponent from '@/components/TabComponent' +import Forms from '@/components/Forms' +import Search from '@/components/Search' // 全局方法挂载 Vue.prototype.website = webSite; @@ -63,6 +64,8 @@ Vue.component('FileUpload', FileUpload) Vue.component('ImageUpload', ImageUpload) Vue.component('ImagePreview', ImagePreview) Vue.component('TabComponent', TabComponent) +Vue.component('Forms', Forms) +Vue.component('Search', Search) Vue.use(directive) Vue.use(plugins)