From fd19536cbf9e5acec9bf7270f3f46037e822827d Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期二, 29 八月 2023 16:44:45 +0800
Subject: [PATCH] 添加菜单折叠自适应宽度 修改密码 修改用户角色 中英文切换全局配置
---
CanadaMes-ui/src/views/home/index.vue | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/CanadaMes-ui/src/views/home/index.vue b/CanadaMes-ui/src/views/home/index.vue
index b0409cf..8e832d3 100644
--- a/CanadaMes-ui/src/views/home/index.vue
+++ b/CanadaMes-ui/src/views/home/index.vue
@@ -5,13 +5,23 @@
<el-breadcrumb-item :to="{ path: '/home' }">棣栭〉</el-breadcrumb-item>
</el-breadcrumb>
-
+ <div>mes鎺у埗椤�</div>
</div>
</template>
<script>
-
+ fetch('/devices')
+ .then(response => response.json())
+ .then(data => {
+ // 鍦ㄨ繖閲屽鐞嗚繑鍥炵殑璁惧鏁版嵁
+ console.log(data);
+ })
+ .catch(error => {
+ // 澶勭悊閿欒鎯呭喌
+ console.error('Error:', error);
+ });
+
export default {
name: "home",
--
Gitblit v1.8.0