<template>
    <div class='device-infoLog-index'>
        <van-tabs v-model="active">
            <van-tab title="设备日志"></van-tab>
            <van-tab title="故障信息"></van-tab>
            <van-tab title="离线日志"></van-tab>
        </van-tabs>
        <device-log v-show='active==0'></device-log>
        <fault-info v-show='active==1'></fault-info>
        <offline-log v-show='active==2'></offline-log>
    </div>
</template>
<script>
import deviceLog from './deviceLog';
import faultInfo from './faultInfo';
import offlineLog from './offlineLog';
export default{
    name: 'device-infoLog-index',
    components:{
        deviceLog,
        faultInfo,
        offlineLog
    },
    data(){
        return {
            active: 0,
        }
    },
    methods:{

    },
    created(){
        
    }
}
</script>
<style scoped lang='scss'>
.device-infoLog-index{

}
</style>