Commit b72768ab by alwayssuper

feat: home 1

parent dd1eb5de
import request from '@/config/axios'
// IoT 数据统计 API
export const ProductCategoryApi = {
// 查询首页所需数据统计信息
getIotMainStats: async () => {
return await request.get({ url: `/iot/statistics/main`})
}
}
\ No newline at end of file
......@@ -39,7 +39,7 @@
<script lang="ts" setup>
import { ref, computed } from 'vue'
import Vue3Jsoneditor from 'v3-jsoneditor/src/Vue3Jsoneditor.vue'
// import Vue3Jsoneditor from 'v3-jsoneditor/src/Vue3Jsoneditor.vue'
const deviceConfig = ref({
name: 'dyla1n'
......
......@@ -26,9 +26,9 @@
:device="device"
/>
</el-tab-pane>
<el-tab-pane label="设备配置" name="config">
<!-- <el-tab-pane label="设备配置" name="config">
<DeviceDetailConfig />
</el-tab-pane>
</el-tab-pane> -->
</el-tabs>
</el-col>
</template>
......
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 sign in to comment