We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29cee1a commit 4980075Copy full SHA for 4980075
src/platforms/mp/runtime/lifecycle.js
@@ -44,7 +44,7 @@ function getGlobalData (app, rootVueVM) {
44
* 格式化 properties 属性,并给每个属性加上 observer 方法
45
*/
46
function normalizeProperties (vm) {
47
- const properties = vm.$options.properties || {}
+ const properties = vm.$options.properties || vm.$options.props || {}
48
const res = {}
49
let val
50
for (const key in properties) {
0 commit comments