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.
2 parents 8677a52 + 5272a8a commit fd9a1a3Copy full SHA for fd9a1a3
platform/nativescript/runtime/components/frame.js
@@ -1,8 +1,6 @@
1
import { setFrame, getFrame, deleteFrame } from '../../util/frame'
2
import { warn } from 'core/util/debug'
3
4
-let idCounter = 1
5
-
6
export default {
7
props: {
8
id: {
@@ -46,13 +44,7 @@ export default {
46
44
},
47
45
created() {
48
this._isFirstRender = true
49
- let properties = {}
50
51
- if (getFrame(this.$props.id)) {
52
- properties.id = this.$props.id + idCounter++
53
- }
54
55
- this.properties = Object.assign({}, this.$attrs, this.$props, properties)
+ this.properties = Object.assign({}, this.$attrs, this.$props)
56
57
setFrame(this.properties.id, this)
58
0 commit comments