From 5b463cb88bbffa827c62a747401bbbbc39258519 Mon Sep 17 00:00:00 2001 From: zouzhibing Date: Fri, 16 Sep 2022 08:52:25 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat=EF=BC=9A=E5=A2=9E=E5=8A=A0=E5=8F=AF?= =?UTF-8?q?=E6=94=B6=E7=BC=A9=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SearchForm/advancedForm/index.vue | 29 +++++++++++++++++++ src/router/modules/from.ts | 8 ++++- .../{ => validateForm}/components/Upload.vue | 0 .../index.vue} | 0 src/views/other/markDown/index.vue | 5 ++-- 5 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 src/components/SearchForm/advancedForm/index.vue rename src/views/form/{ => validateForm}/components/Upload.vue (100%) rename src/views/form/{validateForm.vue => validateForm/index.vue} (100%) diff --git a/src/components/SearchForm/advancedForm/index.vue b/src/components/SearchForm/advancedForm/index.vue new file mode 100644 index 0000000..ca24d19 --- /dev/null +++ b/src/components/SearchForm/advancedForm/index.vue @@ -0,0 +1,29 @@ + + + + + \ No newline at end of file diff --git a/src/router/modules/from.ts b/src/router/modules/from.ts index 42e7ca2..bd8ae7b 100644 --- a/src/router/modules/from.ts +++ b/src/router/modules/from.ts @@ -16,10 +16,16 @@ const formRouter = { children: [ { path: 'validateForm', - component: () => import('@/views/form/validateForm.vue'), + component: () => import('@/views/form/validateForm/index.vue'), name: 'validate-form', meta: { title: '校验 Form', keepAlive: true , icon: 'MenuIcon'} }, + { + path: 'advancedForm', + component: () => import('@/views/form/advancedForm/index.vue'), + name: 'advanced-form', + meta: { title: '可收缩 Form', keepAlive: true , icon: 'MenuIcon'} + }, ] } diff --git a/src/views/form/components/Upload.vue b/src/views/form/validateForm/components/Upload.vue similarity index 100% rename from src/views/form/components/Upload.vue rename to src/views/form/validateForm/components/Upload.vue diff --git a/src/views/form/validateForm.vue b/src/views/form/validateForm/index.vue similarity index 100% rename from src/views/form/validateForm.vue rename to src/views/form/validateForm/index.vue diff --git a/src/views/other/markDown/index.vue b/src/views/other/markDown/index.vue index bebba01..4c75d08 100644 --- a/src/views/other/markDown/index.vue +++ b/src/views/other/markDown/index.vue @@ -14,9 +14,9 @@ \ No newline at end of file diff --git a/src/components/Table/EditableProTable/index.vue b/src/components/Table/EditableProTable/index.vue index 783fceb..52152bf 100644 --- a/src/components/Table/EditableProTable/index.vue +++ b/src/components/Table/EditableProTable/index.vue @@ -42,7 +42,6 @@ :value="ite.value" /> - {{ filterOption(item, scope) }} diff --git a/src/views/form/advancedForm/index.vue b/src/views/form/advancedForm/index.vue new file mode 100644 index 0000000..6559d85 --- /dev/null +++ b/src/views/form/advancedForm/index.vue @@ -0,0 +1,109 @@ + + + + +