Skip to content

Commit 749917b

Browse files
committed
用户OEM
1 parent e7ccb4f commit 749917b

4 files changed

Lines changed: 9 additions & 3 deletions

File tree

src/app/admin/admin.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[nzTrigger]="null">
88
<div class="sidebar-logo">
99
<img [src]="oem.logo" alt="logo">
10-
<h1>{{ oem.name }}</h1>
10+
<h1>{{ us.user && us.user.oem || oem.name || '物联大师' }}</h1>
1111
</div>
1212
<ul nz-menu nzTheme="dark" nzMode="inline" [nzInlineCollapsed]="isCollapsed">
1313
@for (menu of menus; track menu) {

tables/user.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
"type": "string",
4141
"length": 32
4242
},
43+
{
44+
"name": "oem",
45+
"comment": "OEM",
46+
"type": "string",
47+
"length": 128
48+
},
4349
{
4450
"name": "admin",
4551
"comment": "管理员",

www/browser/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
<style>html,body{height:auto!important;width:auto!important;overflow:auto}</style><link rel="stylesheet" href="styles-3KASNK4X.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-3KASNK4X.css"></noscript></head>
1111
<body>
1212
<app-root></app-root>
13-
<link rel="modulepreload" href="chunk-WDQJDPUK.js"><link rel="modulepreload" href="chunk-ZBPQ26PG.js"><link rel="modulepreload" href="chunk-5GQ5K75U.js"><script src="polyfills-DOYHMSTV.js" type="module"></script><script src="main-Q5GCHVGT.js" type="module"></script></body>
13+
<link rel="modulepreload" href="chunk-WDQJDPUK.js"><link rel="modulepreload" href="chunk-ZBPQ26PG.js"><link rel="modulepreload" href="chunk-5GQ5K75U.js"><script src="polyfills-DOYHMSTV.js" type="module"></script><script src="main-FELZE5AX.js" type="module"></script></body>
1414
</html>

0 commit comments

Comments
 (0)