From badb967ea08116f58d5a7531672565da3b33585f Mon Sep 17 00:00:00 2001 From: qiang Date: Tue, 11 Aug 2020 15:54:12 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=A2=9E=E5=8A=A0=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B3=A8=E6=84=8F=E4=BA=8B=E9=A1=B9=20#1460?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/use.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/use.md b/docs/use.md index cebaae7213..029b17d68d 100644 --- a/docs/use.md +++ b/docs/use.md @@ -51,6 +51,9 @@ data() { } ``` +### 注意事项 +* 由于小程序端不支持更新属性值为 undefined,框架内部将替换 undefined 为 null,此时可能出现预期之外的情况([相关反馈](https://github.com/dcloudio/uni-app/issues/1460)),需要自行判断一下。 + ## 全局变量 实现全局变量的方式需要遵循 Vue 单文件模式的开发规范。详细参考:[uni-app全局变量的几种实现方式](https://ask.dcloud.net.cn/article/35021) -- GitLab