debug
This commit is contained in:
@@ -110,7 +110,7 @@ const fetchAllGrids = async () => {
|
||||
gridData.value = Array.isArray(response) ? response : (response as any).content || [];
|
||||
} catch (e: any) {
|
||||
error.value = e.message || '获取网格数据时发生未知错误';
|
||||
ElMessage.error(error.value);
|
||||
ElMessage.error(error.value || '获取网格数据时发生未知错误');
|
||||
} finally {
|
||||
loading.value = false;
|
||||
}
|
||||
@@ -334,4 +334,4 @@ const selectGrid = (grid: DisplayGrid) => {
|
||||
color: #303133;
|
||||
margin-right: 8px;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user