nuxt-for-preset
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

41 lines
816 B

<template>
<b-container>
{{ip}}
<b-row>
<b-col md="4" sm="2">1 of 3</b-col>
<b-col md="4" sm="2">2 of 3</b-col>
<b-col md="4" sm="8">3 of 3</b-col>
</b-row>
</b-container>
</template>
<script>
export default {
middleware: 'auth',
//用于请求数据,返回的数据会作用在data上
async asyncData({ $axios }) {
return { }
},
//无法在内部使用this获取组件实例
//fetch 方法用于在渲染页面前填充应用的状态树(store)数据
//与 asyncData 方法类似,不同的是它不会设置组件的数据。
async fetch ({ store, params,$axios }) {
},
mounted(){
},
data() {
return {
}
},
methods: {
}
}
</script>
<style lang='scss'>
</style>