diff --git a/src/platforms/weex/runtime/node-ops.js b/src/platforms/weex/runtime/node-ops.js index 11acd8ea..c231a150 100755 --- a/src/platforms/weex/runtime/node-ops.js +++ b/src/platforms/weex/runtime/node-ops.js @@ -34,6 +34,10 @@ export function insertBefore (node, target, before) { } export function removeChild (node, child) { + if (node.nodeType === 3) { + node.parentNode.setAttr('value', '') + return + } node.removeChild(child) }