From 3f742a4dc1fbf794052d4c7969800d18102e6b1a Mon Sep 17 00:00:00 2001 From: iczer <1126263215@qq.com> Date: Wed, 15 Jul 2020 12:38:22 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20remove=20the=20deprecated=20API=20of?= =?UTF-8?q?=20Ant=20Design=20Vue;=20:star2:=20=E7=A7=BB=E9=99=A4=20Ant=20D?= =?UTF-8?q?esign=20Vue=20=E5=BA=9F=E5=BC=83=E7=9A=84=20API=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/detail/BasicDetail.vue | 1 + src/pages/form/advance/RepositoryForm.vue | 74 +++++++++++------------ src/pages/form/advance/TaskForm.vue | 69 ++++++++++----------- src/pages/list/search/SearchForm.vue | 23 +++---- src/pages/login/Login.vue | 30 +++++---- 5 files changed, 103 insertions(+), 94 deletions(-) diff --git a/src/pages/detail/BasicDetail.vue b/src/pages/detail/BasicDetail.vue index 567b907..67ca385 100644 --- a/src/pages/detail/BasicDetail.vue +++ b/src/pages/detail/BasicDetail.vue @@ -18,6 +18,7 @@
退货商品
- + - - + + - - + + - - + + 王同学 李同学 黄同学 @@ -35,33 +33,30 @@ - - + + 王晓丽 李军 - - + + - - + + 公开 私密 @@ -79,6 +74,11 @@ export default { name: 'RepositoryForm', props: ['showSubmit'], i18n: require('./i18n-repository'), + data() { + return { + form: this.$form.createForm(this) + } + }, methods: { handleSubmit (e) { e.preventDefault() diff --git a/src/pages/form/advance/TaskForm.vue b/src/pages/form/advance/TaskForm.vue index 7772211..3200c73 100644 --- a/src/pages/form/advance/TaskForm.vue +++ b/src/pages/form/advance/TaskForm.vue @@ -1,31 +1,30 @@