Skip to content

Commit

Permalink
Merge branch 'master' into feat-rn-components-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lareinayanyu committed Jan 13, 2025
2 parents ec519c4 + 45cd200 commit 78305a9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/core/src/platform/env/vuePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,23 @@ export default function install (Vue) {
data: {
get () {
return Object.assign({}, this.$props, this.$data)
}
},
enumerable: true,
configurable: true
},
dataset: {
get () {
return collectDataset(this.$attrs, true)
}
},
enumerable: true,
configurable: true
},
id: {
get () {
return this.$attrs.id || ''
}
},
enumerable: true,
configurable: true
}
})

Expand Down

0 comments on commit 78305a9

Please sign in to comment.