mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
e934da3c36
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Clark Du <clark.duxin@gmail.com>
19 lines
276 B
Vue
19 lines
276 B
Vue
<template>
|
|
<div id="old-fetch">
|
|
oldFetchData: {{ $store.state.oldFetchData }}
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data () {
|
|
return {
|
|
team: []
|
|
}
|
|
},
|
|
fetch ({ store, route }) {
|
|
store.commit('setOldFetchData', route.name)
|
|
}
|
|
}
|
|
</script>
|