mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-22 17:32:14 +00:00
create AccessToken route(Vue)
This commit is contained in:
41
resources/js/views/User/AccessToken.vue
Normal file
41
resources/js/views/User/AccessToken.vue
Normal file
@@ -0,0 +1,41 @@
|
||||
<template>
|
||||
<PageTab>
|
||||
<PageTabGroup>
|
||||
<FormLabel>{{ $t('user_token.title') }}</FormLabel>
|
||||
</PageTabGroup>
|
||||
</PageTab>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import PageTabGroup from '@/components/Others/Layout/PageTabGroup'
|
||||
import FormLabel from '@/components/Others/Forms/FormLabel'
|
||||
import PageTab from '@/components/Others/Layout/PageTab'
|
||||
|
||||
export default {
|
||||
name: 'AccessToken',
|
||||
components: {
|
||||
PageTabGroup,
|
||||
FormLabel,
|
||||
PageTab
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
tokens: undefined
|
||||
}
|
||||
},
|
||||
created () {
|
||||
axios.
|
||||
get('/api/user/tokens')
|
||||
.then(response => {
|
||||
this.tokens = response.data
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import '@assets/vuefilemanager/_variables';
|
||||
@import '@assets/vuefilemanager/_mixins';
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user