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.
18 lines
585 B
18 lines
585 B
<template>
|
|
<el-tabs v-model="activeName">
|
|
<el-tab-pane :lazy="true" label="本地数据" name="local">
|
|
<Local v-if="activeName === 'local'" :active-name="activeName" />
|
|
</el-tab-pane>
|
|
<el-tab-pane :lazy="true" label="设备数据" name="device">
|
|
<Device v-if="activeName === 'device'" :active-name="activeName" />
|
|
</el-tab-pane>
|
|
</el-tabs>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { ref } from 'vue';
|
|
import Local from 'components/history/data-history.vue';
|
|
import Device from 'components/history/data-report.vue';
|
|
|
|
const activeName = ref('local');
|
|
</script>
|
|
|