pc-master #10
@ -492,15 +492,16 @@ export default {
 | 
			
		||||
            var statusIndex = 8
 | 
			
		||||
            for (var j = 0; j < statusIndex; j++) {
 | 
			
		||||
                if (Number(number[number.length-1 - j])) {
 | 
			
		||||
                    if(j=0){
 | 
			
		||||
                        this.right2Index.push(1)
 | 
			
		||||
                    }else if(j=1){
 | 
			
		||||
                        this.right2Index.push(0)
 | 
			
		||||
                    if(j==0){
 | 
			
		||||
                        this.right2Index.push('1')
 | 
			
		||||
                    }else if(j==1){
 | 
			
		||||
                        this.right2Index.push('0')
 | 
			
		||||
                    }else{
 | 
			
		||||
                        this.right2Index.push(j)
 | 
			
		||||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            console.log( this.right2Index,123);
 | 
			
		||||
        },
 | 
			
		||||
        //进水泵和出水泵状态
 | 
			
		||||
        getData30() {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user