Commit 8cd1155e authored by Mac's avatar Mac

1

parent 26160e26
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
}) })
}, },
getMiaiMessageCenter(){ getMiaiMessageCenter(){
console.log('进入更新')
this.request2( this.request2(
{ {
url: '/api/AppletMiai/GetMiaiMessageCenter', url: '/api/AppletMiai/GetMiaiMessageCenter',
......
...@@ -558,7 +558,6 @@ ...@@ -558,7 +558,6 @@
</view> </view>
</view> </view>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
<view class="comment" > <view class="comment" >
...@@ -911,6 +910,7 @@ ...@@ -911,6 +910,7 @@
} }
); );
} }
this.initialize()
}else{ }else{
this.request2( this.request2(
{ {
...@@ -924,13 +924,13 @@ ...@@ -924,13 +924,13 @@
} }
} }
); );
this.initialize(); this.initialize(2);
this.sendMsg.ParentId = this.twodata.Id this.sendMsg.ParentId = this.twodata.Id
this.ParentName=''; this.ParentName='';
this.sendMsg.Content = '' this.sendMsg.Content = ''
} }
this.getCount() this.getCount()
this.initialize()
} }
); );
} }
...@@ -970,8 +970,12 @@ ...@@ -970,8 +970,12 @@
}, },
initialize(type=1){//初始值发送的内容 initialize(type=1){//初始值发送的内容
this.sendMsg.Content =''; this.sendMsg.Content ='';
this.sendMsg.ParentId =0; if(type==1){
this.sendMsg.ParentId =0;
}
this.sendMsg.ImageList =[]; this.sendMsg.ImageList =[];
this.sendMsg.ReplyUserId =0;
this.ParentName=''; this.ParentName='';
this.showreply = false this.showreply = false
this.showreply2 = false this.showreply2 = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment