diff --git a/packages/webpack-plugin/lib/template-compiler/gen-node-react.js b/packages/webpack-plugin/lib/template-compiler/gen-node-react.js index 889f0674de..f8c3a94748 100644 --- a/packages/webpack-plugin/lib/template-compiler/gen-node-react.js +++ b/packages/webpack-plugin/lib/template-compiler/gen-node-react.js @@ -43,7 +43,7 @@ function genNode (node) { } } if (node.tag === 'wxs') { - return '""' + return 'null' } if (node.type === 1) { if (node.tag !== 'temp-node') {