Skip to content

Commit b20211f

Browse files
committed
chore (samples): Add a goBack() method to complete the HMR test
1 parent 7e6f1ae commit b20211f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

samples/app/components/Details.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ const page = {
1616
methods: {
1717
openDetails() {
1818
this.$navigateTo(page)
19+
},
20+
goBack() {
21+
this.$navigateBack()
1922
}
2023
}
2124
}

samples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"nativescript": {
66
"id": "org.nativescript.application",
77
"tns-android": {
8-
"version": "next"
8+
"version": "6.0.0-2019-06-12-140945-01"
99
},
1010
"tns-ios": {
1111
"version": "6.0.0-2019-06-10-154118-03"

0 commit comments

Comments
 (0)