Skip to content

Commit 311515a

Browse files
committed
machine-setup: add network info
1 parent e1a9f98 commit 311515a

File tree

1 file changed

+7
-2
lines changed
  • packages/machine-setup/frontend/src

1 file changed

+7
-2
lines changed

packages/machine-setup/frontend/src/App.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</n-card>
88
<n-card bordered shadow="always">
99
<n-input placeholder="请输入座位号" type="text" size="large" style="width: 100%; margin-bottom: .5em;" />
10-
<n-space x-gap="12" :cols="2" style="width: 100%;">
10+
<n-space style="width: 100%;">
1111
<n-button type="primary" style="width: 100%;">保存</n-button>
1212
<n-button type="info" style="width: 100%;">放大显示</n-button>
1313
</n-space>
@@ -45,14 +45,19 @@
4545
</n-gi>
4646
</n-grid>
4747
</n-card>
48+
<n-card bordered title="Network Info" shadow="always">
49+
<p>IP: Unknown</p>
50+
<p>Mac: Unknown</p>
51+
<p>Interface: Unknown</p>
52+
</n-card>
4853
</n-gi>
4954
</n-grid>
5055
</n-config-provider>
5156
</template>
5257

5358
<script setup lang="ts">
5459
import {
55-
NGrid, NGi, darkTheme, NConfigProvider, useOsTheme, NButton, NCard,
60+
NGrid, NGi, darkTheme, NConfigProvider, useOsTheme, NButton, NCard, NStatistic,
5661
} from 'naive-ui';
5762
5863
const osTheme = useOsTheme();

0 commit comments

Comments
 (0)