提交 93e144ac 编写于 作者: Q qiang

fix: update text warning

上级 17e4fb0f
...@@ -51,7 +51,7 @@ export default { ...@@ -51,7 +51,7 @@ export default {
}) })
} else { } else {
if (vnode.componentOptions && vnode.componentOptions.tag !== 'v-uni-text') { if (vnode.componentOptions && vnode.componentOptions.tag !== 'v-uni-text') {
console.warn('<text> 组件内只支持嵌套 <text>,不支持其它组件或自定义组件,否则会引发在不同平台的渲染差异。') console.warn('Do not nest other components in the text component, as there may be display differences on different platforms.')
} }
nodeList.push(vnode) nodeList.push(vnode)
} }
...@@ -73,4 +73,4 @@ export default { ...@@ -73,4 +73,4 @@ export default {
user-select: text; user-select: text;
-webkit-user-select: text; -webkit-user-select: text;
} }
</style> </style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册