feat: 设备详情新增设备功能菜单

This commit is contained in:
JiangQiming 2023-02-20 11:06:04 +08:00
parent ca66f58bdd
commit c29f2d0cad
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,7 @@
<template>
<div class="page-container">设备功能</div>
</template>
<script setup lang="ts"></script>
<style lang="less" scoped></style>

View File

@ -45,6 +45,7 @@ import Running from './Running/index.vue'
import Metadata from '../../components/Metadata/index.vue';
import ChildDevice from './ChildDevice/index.vue';
import Diagnose from './Diagnose/index.vue'
import Function from './Function/index.vue'
import { _deploy, _disconnect } from '@/api/device/instance'
import { message } from 'ant-design-vue';
import { getImage } from '@/utils/comm';
@ -70,6 +71,10 @@ const list = [
key: 'Metadata',
tab: '物模型'
},
{
key: 'Function',
tab: '设备功能'
},
{
key: 'ChildDevice',
tab: '子设备'
@ -85,7 +90,8 @@ const tabs = {
Metadata,
Running,
ChildDevice,
Diagnose
Diagnose,
Function
}
watch(