Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/mpvue/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ new Vue({
## 计算属性
支持 [官方文档:计算属性](https://cn.vuejs.org/v2/guide/computed.html)。

## 不支持函数

不支持在 template 内使用 methods 中的函数。

## Class 与 Style 绑定
为节约性能,我们将 Class 与 Style 的表达式通过 compiler 硬编码到 wxml 中,支持语法和转换效果如下:

Expand Down
2 changes: 1 addition & 1 deletion docs/qa.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Owl.start({

## 为什么我新增了页面,没有反应?

因为 webpack 编译的文件使用配置的 entry 决定的,新增的页面并没用添加进 entry,所以需要手动 `npm run dev` 一下,考虑不是高频操作,所以还可以忍受
因为 webpack 编译的文件是由配置的 entry 决定的,新增的页面并没有添加进 entry,所以需要手动 `npm run dev` 一下,考虑不是高频操作,所以还可以忍受

## 能不能引用第三方的 UI 库?

Expand Down