From de1de0e73bd260cb1babe7b15c9e943a381009de Mon Sep 17 00:00:00 2001
From: web <candymxq888@outlook.com>
Date: 星期五, 21 三月 2025 17:22:26 +0800
Subject: [PATCH] feat:增加温度系统界面

---
 src/views/system/user/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 3437d9d..01d2789 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -44,11 +44,11 @@
               >
                 <template #default="scope">
                     <div v-if="key === 'userType'">
-                        {{userTypeList.filter(fil => fil.dictValue == scope.row.userType.toString())[0].dictLabel}}
+                        {{userTypeList?.filter(fil => fil.dictValue == scope.row.userType.toString())[0].dictLabel}}
                     </div>
                 </template>
             </el-table-column>
-              <el-table-column label="操作" width="180" align="center" class-name="small-padding fixed-width">
+              <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
                 <template #default="scope">
                     <el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)">修改</el-button>
                     <el-button v-if="scope.row.userType == 3" link type="primary" icon="Edit" @click="handleRole(scope.row)">绑定角色</el-button>
@@ -341,7 +341,7 @@
     getUserType()
     getList();
     </script>
-    <style lang="scss">
+    <style lang="scss" scoped>
     .table-headImg{
         max-width: 100px;
         height: 50px;

--
Gitblit v1.9.3