修改更新逻辑
This commit is contained in:
		
							parent
							
								
									1e1459803a
								
							
						
					
					
						commit
						76116f7289
					
				|  | @ -80,8 +80,12 @@ | |||
|         var data = eval("(" + e.data + ")");  | ||||
|         console.log(data); | ||||
|           //处理订阅信息 | ||||
|         this.contentList.push(data.content); | ||||
|         this.percent = data.currProgress | ||||
|         if(data.content.length >0){ | ||||
|           this.contentList.push(data.content); | ||||
|         } | ||||
|         if(data.currProgress != null){ | ||||
|           this.contentList.push(data.content); | ||||
|         } | ||||
|       }, | ||||
|       websocketclose: function (e) { | ||||
|         console.log("connection closed (" + e + ")"); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 RenCheng
						RenCheng