2025-10-14
聊天添加刷新
This commit is contained in:
		| @@ -87,7 +87,7 @@ | |||||||
|  |  | ||||||
|     <!--  数据列表  --> |     <!--  数据列表  --> | ||||||
|     <el-card class="table-card"> |     <el-card class="table-card"> | ||||||
|       <el-row :gutter="10" class="mb8"> |       <el-row :gutter="10" class="mb8 mb-2"> | ||||||
|         <!--        <el-col :span="1.5">--> |         <!--        <el-col :span="1.5">--> | ||||||
|         <!--          <el-button--> |         <!--          <el-button--> | ||||||
|         <!--              type="primary"--> |         <!--              type="primary"--> | ||||||
| @@ -117,6 +117,15 @@ | |||||||
| <!--          >删除--> | <!--          >删除--> | ||||||
| <!--          </el-button>--> | <!--          </el-button>--> | ||||||
| <!--        </el-col>--> | <!--        </el-col>--> | ||||||
|  |         <el-col :span="1.5"> | ||||||
|  |           <el-button | ||||||
|  |               type="primary" | ||||||
|  |               plain | ||||||
|  |               icon="Refresh" | ||||||
|  |               @click="handleRefresh" | ||||||
|  |           >刷新 | ||||||
|  |           </el-button> | ||||||
|  |         </el-col> | ||||||
|       </el-row> |       </el-row> | ||||||
|  |  | ||||||
|       <el-table |       <el-table | ||||||
| @@ -561,6 +570,10 @@ const getRoleInitial = (createId) => { | |||||||
|   } |   } | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | const handleRefresh = () => { | ||||||
|  |   getList() | ||||||
|  | } | ||||||
|  |  | ||||||
| onMounted(() => { | onMounted(() => { | ||||||
|   // 获取统计 |   // 获取统计 | ||||||
|   getStats() |   getStats() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user