Skip to content

Commit fd9a1a3

Browse files
committed
Merge branch 'master' of github.com:nativescript-vue/nativescript-vue
2 parents 8677a52 + 5272a8a commit fd9a1a3

File tree

1 file changed

+1
-9
lines changed
  • platform/nativescript/runtime/components

1 file changed

+1
-9
lines changed

platform/nativescript/runtime/components/frame.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { setFrame, getFrame, deleteFrame } from '../../util/frame'
22
import { warn } from 'core/util/debug'
33

4-
let idCounter = 1
5-
64
export default {
75
props: {
86
id: {
@@ -46,13 +44,7 @@ export default {
4644
},
4745
created() {
4846
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)
47+
this.properties = Object.assign({}, this.$attrs, this.$props)
5648

5749
setFrame(this.properties.id, this)
5850
},

0 commit comments

Comments
 (0)