Commit 4201aedc by 周田

mod:删除不需要的东西

parent 975522b1
<template> <template>
<el-tabs v-model="activeName" type="card" class="demo-tabs" @tab-click="handleClick"> <el-tabs v-model="activeName" type="card" class="demo-tabs">
<el-tab-pane label="device" name="device"> <el-tab-pane label="device" name="device">
<communication-tab tab-type="communicate" /> <communication-tab tab-type="communicate" />
</el-tab-pane> </el-tab-pane>
...@@ -12,16 +12,12 @@ ...@@ -12,16 +12,12 @@
<script lang="ts" setup> <script lang="ts" setup>
import axios from 'axios'; import axios from 'axios';
import { onMounted, ref } from 'vue' import { onMounted, ref } from 'vue'
import type { TabsPaneContext } from 'element-plus'
import { useProtocolNamesStore } from '@/stores/protocolNames' import { useProtocolNamesStore } from '@/stores/protocolNames'
import CommunicationTab from "@/components/device_communication/CommunicationTab"; import CommunicationTab from "@/components/device_communication/CommunicationTab";
// tab 相关 // tab 相关
const activeName = ref<string>('simulate_device') const activeName = ref<string>('simulate_device')
const handleClick = (tab: TabsPaneContext, event: Event) => {
console.log(tab, event)
}
onMounted(() => { onMounted(() => {
axios.get('/api/device_communication/') axios.get('/api/device_communication/')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment