diff --git a/src/components/FormCol/index.vue b/src/components/FormCol/index.vue new file mode 100644 index 0000000..2543509 --- /dev/null +++ b/src/components/FormCol/index.vue @@ -0,0 +1,31 @@ + + + diff --git a/src/main.js b/src/main.js index 6bf9ef7..12e5fb4 100644 --- a/src/main.js +++ b/src/main.js @@ -37,6 +37,8 @@ import DictTag from '@/components/DictTag' import VueMeta from 'vue-meta' // 字典数据组件 import DictData from '@/components/DictData' +// 行内表单组件 +import FormCol from '@/components/FormCol/index.vue' // 全局方法挂载 Vue.prototype.getDicts = getDicts @@ -57,6 +59,7 @@ Vue.component('Editor', Editor) Vue.component('FileUpload', FileUpload) Vue.component('ImageUpload', ImageUpload) Vue.component('ImagePreview', ImagePreview) +Vue.component('FormCol', FormCol) Vue.use(directive) Vue.use(plugins) diff --git a/src/views/system/model/index.vue b/src/views/system/model/index.vue index 55e44c6..471cc7d 100644 --- a/src/views/system/model/index.vue +++ b/src/views/system/model/index.vue @@ -76,14 +76,13 @@ - - - + + - +