Skip to content

Commit 72b9761

Browse files
committed
update v-html
1 parent efa8889 commit 72b9761

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/mpvue/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ new Vue({
110110
## 模板语法
111111
几乎全支持 [官方文档:模板语法](https://cn.vuejs.org/v2/guide/syntax.html),下面讲下不支持的情况。
112112

113-
### 支持部分 `V-HTML`
113+
### 不支持 `-HTML`
114114

115-
会将使用了 `v-html` 指令转化为小程序的 [rich-text](https://developers.weixin.qq.com/miniprogram/dev/component/rich-text.html) `1.0.9`
115+
小程序里所有的 BOM/DOM 都不能用,也就是说 `v-html` 指令不能用。
116116

117117
### 不支持部分复杂的 JavaScript 渲染表达式
118118
我们会把 template 中的 `{{}}` 双花括号的部分,直接编码到 wxml 文件中,由于微信小程序的能力限制([数据绑定](https://mp.weixin.qq.com/debug/wxadoc/dev/framework/view/wxml/data.html)),所以无法支持复杂的 JavaScript 表达式。

0 commit comments

Comments
 (0)