修正错误
This commit is contained in:
		
							parent
							
								
									9a7ce30a6f
								
							
						
					
					
						commit
						165ebe45b7
					
				@ -36,7 +36,7 @@ async function updateSkip(num,id){
 | 
			
		||||
// skip = 总集数 设置完成
 | 
			
		||||
async function updateState(id){
 | 
			
		||||
    let info = getVideoInfoById(id)
 | 
			
		||||
    if(info.skip == info.count){
 | 
			
		||||
    if(info.skip > info.count){
 | 
			
		||||
        let sql = `update VideoInfo set enable=2 where id=${id}`
 | 
			
		||||
        await run(sql)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user