Skip to content

Commit 94f5e3e

Browse files
authored
improve: Pass the GET parameter through in scaffold page component (#100)
1 parent 2bde80b commit 94f5e3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaffold/pages/_.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { mapState } from 'vuex'
1111
export default {
1212
async asyncData ({ route, $drupal }) {
1313
// Fill the drupal-ce store with data, but do not return the data here to avoid hydrating data twice.
14-
await $drupal.fetchPage(route.path)
14+
await $drupal.fetchPage(route.path, { params: route.query })
1515
},
1616
head () {
1717
return {

0 commit comments

Comments
 (0)