Skip to content

Commit b614b92

Browse files
author
issayah
committed
Test route main.ts router fix
1 parent 229880c commit b614b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const routes = [
3232
name: 'About',
3333
props: {id: [Number, String]},
3434
render() {
35-
return h('h1', {}, `About page ${this.id}`)
35+
return h('h1', {}, `About page ${this.props.id}`)
3636
},
3737
},
3838
props: true,

0 commit comments

Comments
 (0)