+
预览
diff --git a/src/views/user/interaction/index.vue b/src/views/user/interaction/index.vue
index a1cf273d..88cddd4b 100644
--- a/src/views/user/interaction/index.vue
+++ b/src/views/user/interaction/index.vue
@@ -12,6 +12,7 @@
{{item.content}}
- 已回复
- 未回复
+ 已回复
+ 未回复
{{item.reply}}
发布时间:{{item.logintime}}
-
+
修改
-
+
删除
@@ -66,7 +67,12 @@ export default {
};
},
created() {
- this.getInfo();
+ getInfo().then(response => {
+ getMember(response.user.userId).then(response => {
+ this.queryParams.memberId = response.data.id;
+ this.getList()
+ });
+ });
},
methods: {
goAdd(type,id){
@@ -80,13 +86,6 @@ export default {
goClickLeft(){
window.location='user';
},
- getInfo(){
- getInfo().then(response => {
- getMember(response.user.userId).then(response => {
- this.queryParams.memberId = response.data.id;
- });
- });
- },
getList(){
this.loading = true;
userConsulting(this.queryParams).then(response => {