Skip to content

Commit a2b0cd6

Browse files
authored
fix: honour the ID of the <Frame> components in the App (nativescript-vue#541)
1 parent eeea0d3 commit a2b0cd6

File tree

1 file changed

+0
-6
lines changed
  • platform/nativescript/runtime/components

1 file changed

+0
-6
lines changed

platform/nativescript/runtime/components/frame.js

Lines changed: 0 additions & 6 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: {
@@ -48,10 +46,6 @@ export default {
4846
this._isFirstRender = true
4947
let properties = {}
5048

51-
if (getFrame(this.$props.id)) {
52-
properties.id = this.$props.id + idCounter++
53-
}
54-
5549
this.properties = Object.assign({}, this.$attrs, this.$props, properties)
5650

5751
setFrame(this.properties.id, this)

0 commit comments

Comments
 (0)