fix:web inserting childNodes in diff
This commit is contained in:
		
							
								
								
									
										2
									
								
								doric-web/dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								doric-web/dist/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -6903,7 +6903,7 @@ var doric_web = (function (exports, axios, sandbox) { | |||||||
| 	                            newNode.viewId = childViewId; | 	                            newNode.viewId = childViewId; | ||||||
| 	                            newNode.init(this); | 	                            newNode.init(this); | ||||||
| 	                            newNode.blend(model.props); | 	                            newNode.blend(model.props); | ||||||
| 	                            this.childNodes[index] = newNode; | 	                            this.childNodes.splice(index, 0, newNode); | ||||||
| 	                            this.view.insertBefore(newNode.view, this.view.children[index]); | 	                            this.view.insertBefore(newNode.view, this.view.children[index]); | ||||||
| 	                        } | 	                        } | ||||||
| 	                    } | 	                    } | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								doric-web/dist/index.js.map
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								doric-web/dist/index.js.map
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -796,7 +796,7 @@ export abstract class DoricGroupViewNode extends DoricSuperNode { | |||||||
|                             newNode.viewId = childViewId |                             newNode.viewId = childViewId | ||||||
|                             newNode.init(this) |                             newNode.init(this) | ||||||
|                             newNode.blend(model.props) |                             newNode.blend(model.props) | ||||||
|                             this.childNodes[index] = newNode |                             this.childNodes.splice(index, 0, newNode) | ||||||
|                             this.view.insertBefore(newNode.view, this.view.children[index]) |                             this.view.insertBefore(newNode.view, this.view.children[index]) | ||||||
|                         } |                         } | ||||||
|                     } |                     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user