FEAT => 本次更新项目为:设备类别构建完成

This commit is contained in:
超级老白兔
2025-07-29 19:51:56 +08:00
parent e4b1cf4a15
commit 035c0602b5

View File

@@ -19,6 +19,7 @@ import {
import type { Device } from "@/types/device";
import { comfirm } from "@/utils/common";
import { useUserStore } from "@/store/module/user";
import NavCommon from "@/components/NavCommon";
const Devices: React.FC = () => {
// 设备列表相关
@@ -195,29 +196,15 @@ const Devices: React.FC = () => {
<Layout
header={
<>
<NavBar
back={null}
left={
<div className="nav-title">
<ArrowLeftOutlined
twoToneColor="#1677ff"
onClick={() => navigate(-1)}
/>
</div>
}
style={{ background: "#fff" }}
<NavCommon
title="设备管理"
right={
<Button size="small" type="primary" onClick={() => addDevice()}>
<AddOutline />
</Button>
}
>
<span style={{ color: "var(--primary-color)", fontWeight: 600 }}>
</span>
</NavBar>
/>
<div style={{ padding: "12px 12px 0 12px", background: "#fff" }}>
{/* 搜索栏 */}
<div style={{ display: "flex", gap: 8, marginBottom: 12 }}>