parent
edaee7da55
commit
45f21830c1
|
@ -233,13 +233,17 @@ function sameDetail(oldVnode,newVnode,sameNode){
|
|||
}else{
|
||||
sameNode.nodeArray = [];
|
||||
}
|
||||
}else if(oldVnode.tag==='textarea'&&newVnode.tag==='textarea'){
|
||||
}
|
||||
else if(oldVnode.tag==='textarea'&&newVnode.tag==='textarea'){
|
||||
if(oldVnode.elm.value===newVnode.elm.value){
|
||||
sameNode.nodeArray.push(newVnode.elm);
|
||||
}else {
|
||||
sameNode.nodeArray = [];
|
||||
}
|
||||
}
|
||||
else {
|
||||
sameNode.nodeArray.push(newVnode.elm);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if(sameVnode(oldVnode,newVnode)){
|
||||
|
|
Loading…
Reference in New Issue