fix table wathc
This commit is contained in:
		
							parent
							
								
									7b10791c2b
								
							
						
					
					
						commit
						8a9cd750ae
					
				@ -1485,7 +1485,9 @@ const _sfc_main = defineComponent({
 | 
				
			|||||||
      console.log("sxlist\u66F4\u65B0");
 | 
					      console.log("sxlist\u66F4\u65B0");
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
    watch([sxlist, () => props.dataSource], (old, new1) => {
 | 
					    watch([sxlist, () => props.dataSource], (old, new1) => {
 | 
				
			||||||
      console.log(JSON.stringify(sxlist.value), JSON.stringify(props.dataSource), old[0] == new1[0], old[1] == new1[1]);
 | 
					      if (sxlist.value.length == 0) {
 | 
				
			||||||
 | 
					        return;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
      let list = [...props.dataSource];
 | 
					      let list = [...props.dataSource];
 | 
				
			||||||
      let endlist = [];
 | 
					      let endlist = [];
 | 
				
			||||||
      for (let i in sxlist.value) {
 | 
					      for (let i in sxlist.value) {
 | 
				
			||||||
 | 
				
			|||||||
@ -19932,7 +19932,9 @@ const _sfc_main$D = defineComponent({
 | 
				
			|||||||
      console.log("sxlist\u66F4\u65B0");
 | 
					      console.log("sxlist\u66F4\u65B0");
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
    watch([sxlist, () => props.dataSource], (old, new1) => {
 | 
					    watch([sxlist, () => props.dataSource], (old, new1) => {
 | 
				
			||||||
      console.log(JSON.stringify(sxlist.value), JSON.stringify(props.dataSource), old[0] == new1[0], old[1] == new1[1]);
 | 
					      if (sxlist.value.length == 0) {
 | 
				
			||||||
 | 
					        return;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
      let list = [...props.dataSource];
 | 
					      let list = [...props.dataSource];
 | 
				
			||||||
      let endlist = [];
 | 
					      let endlist = [];
 | 
				
			||||||
      for (let i in sxlist.value) {
 | 
					      for (let i in sxlist.value) {
 | 
				
			||||||
 | 
				
			|||||||
@ -790,7 +790,10 @@ watch(
 | 
				
			|||||||
  [sxlist,()=>props.dataSource],
 | 
					  [sxlist,()=>props.dataSource],
 | 
				
			||||||
  (old,new1) => {
 | 
					  (old,new1) => {
 | 
				
			||||||
    // tableDataSource
 | 
					    // tableDataSource
 | 
				
			||||||
    console.log(JSON.stringify(sxlist.value),JSON.stringify(props.dataSource),old[0] == new1[0],old[1] == new1[1])
 | 
					    // console.log(JSON.stringify(sxlist.value),JSON.stringify(props.dataSource),old[0] == new1[0],old[1] == new1[1])
 | 
				
			||||||
 | 
					    if(sxlist.value.length == 0){
 | 
				
			||||||
 | 
					      return
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
    let list: any = [...props.dataSource];
 | 
					    let list: any = [...props.dataSource];
 | 
				
			||||||
    let endlist: any = [];
 | 
					    let endlist: any = [];
 | 
				
			||||||
    for (let i in sxlist.value) {
 | 
					    for (let i in sxlist.value) {
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										22
									
								
								umd/index.js
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								umd/index.js
									
									
									
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user