xbx #50
@ -142,6 +142,7 @@
 | 
				
			|||||||
					}
 | 
										}
 | 
				
			||||||
					this.$u.route({
 | 
										this.$u.route({
 | 
				
			||||||
						url:"/pages/release/zhibo",
 | 
											url:"/pages/release/zhibo",
 | 
				
			||||||
 | 
											type:"redirectTo",
 | 
				
			||||||
						params:{
 | 
											params:{
 | 
				
			||||||
							url:res.data.url.replace("&","*"),
 | 
												url:res.data.url.replace("&","*"),
 | 
				
			||||||
							id:res.data.chat_id,
 | 
												id:res.data.chat_id,
 | 
				
			||||||
 | 
				
			|||||||
@ -419,10 +419,18 @@
 | 
				
			|||||||
            },500)
 | 
					            },500)
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        
 | 
					        onBackPress(options) {  
 | 
				
			||||||
 | 
					            if (options.from === 'navigateBack' || !this.zhibo) {  
 | 
				
			||||||
 | 
					                return false;  
 | 
				
			||||||
 | 
					            }  
 | 
				
			||||||
 | 
					            this.closes();  
 | 
				
			||||||
 | 
					            return true;  
 | 
				
			||||||
 | 
					        }, 
 | 
				
			||||||
        onLoad(a){
 | 
					        onLoad(a){
 | 
				
			||||||
		    console.log(getApp().globalData.im)
 | 
							    console.log(getApp().globalData.im)
 | 
				
			||||||
 | 
					            uni.setKeepScreenOn({
 | 
				
			||||||
 | 
					                keepScreenOn: true
 | 
				
			||||||
 | 
					            });
 | 
				
			||||||
            this.url = a.url.replace("*","&")
 | 
					            this.url = a.url.replace("*","&")
 | 
				
			||||||
            let that = this
 | 
					            let that = this
 | 
				
			||||||
            const token = uni.getStorageSync('token');
 | 
					            const token = uni.getStorageSync('token');
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user