1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| <template>
| <div class="app-container">
| <span v-if="isRouteLogged">
| <RateLimitLog />
| </span>
| <span v-else>
| <RouteLogin />
| </span>
| </div>
| </template>
| <script>
| import RateLimitLog from './RateLimitLog'
| import RouteLogin from '../common/RouteLogin'
|
| export default {
| name: 'RateLimitLogIndex',
| components: { RouteLogin, RateLimitLog },
| computed: {
| isRouteLogged() {
| return !!this.$store.state.account.routeToken
| }
| }
| }
| </script>
|
|