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 @@
-
+
-
-
+
+
-
-
+
+
-
+
黄丽丽
李大刀
@@ -34,33 +33,30 @@
-
-
+
+
王伟
李红军
-
-
+
+
-
-
+
+
定时执行
周期执行
@@ -78,6 +74,11 @@ export default {
name: 'TaskForm',
props: ['showSubmit'],
i18n: require('./i18n-task'),
+ data() {
+ return {
+ form: this.$form.createForm(this)
+ }
+ },
methods: {
handleSubmit (e) {
e.preventDefault()
diff --git a/src/pages/list/search/SearchForm.vue b/src/pages/list/search/SearchForm.vue
index 4db371a..5cd06d1 100644
--- a/src/pages/list/search/SearchForm.vue
+++ b/src/pages/list/search/SearchForm.vue
@@ -1,6 +1,6 @@
-
+
@@ -24,11 +24,11 @@
-
-
+
+
我自己
吴家豪
周星星
@@ -40,11 +40,7 @@
-
+
周星星
@@ -76,6 +72,11 @@ const TagSelectOption = TagSelect.Option
export default {
name: 'SearchForm',
components: {FormRow, TagSelectOption, TagSelect},
+ data() {
+ return {
+ form: this.$form.createForm(this)
+ }
+ },
methods: {
lookMyself () {
this.form.setFieldsValue({
diff --git a/src/pages/login/Login.vue b/src/pages/login/Login.vue
index fff47c0..0cdba0d 100644
--- a/src/pages/login/Login.vue
+++ b/src/pages/login/Login.vue
@@ -8,23 +8,28 @@
Ant Design 是西湖区最具影响力的 Web 设计规范
-
+
-
-
+
+
-
-
+
+
@@ -77,7 +82,8 @@ export default {
data () {
return {
logging: false,
- error: ''
+ error: '',
+ form: this.$form.createForm(this)
}
},
computed: {