wangfei 6 лет назад
Родитель
Сommit
193b3e1758
2 измененных файлов: 2 добавлений и 1 удалений
  1. 1
    0
      src/store/vote.js
  2. 1
    1
      src/views/vote/signup.vue

+ 1
- 0
src/store/vote.js Просмотреть файл

@@ -24,6 +24,7 @@ export default {
24 24
     },
25 25
     updateDetail(state, data) {
26 26
       state.detail = data || {}
27
+      state.myprofile = (state.myprofile || []).concat(data)
27 28
     },
28 29
     updateMine (state, data) {
29 30
       state.myprofile = data || {}

+ 1
- 1
src/views/vote/signup.vue Просмотреть файл

@@ -139,7 +139,7 @@ export default {
139 139
       };
140 140
     },
141 141
     closetoast(){
142
-this.isLoading=false
142
+      this.isLoading=false
143 143
     },
144 144
     messageWrite() {
145 145
       this.messagenum = this.postData.message.length;