优化展示
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<el-button type="primary" @click="handleSearch">搜索</el-button>
|
||||
</div>
|
||||
|
||||
<!-- 猪年龄阶段列表 -->
|
||||
<!-- 年龄阶段列表 -->
|
||||
<el-table :data="tableData" style="width: 100%" v-loading="loading" row-key="id"
|
||||
:expand-row-keys="expandRowKeys" @expand-change="handleExpandChange">
|
||||
<el-table-column type="expand">
|
||||
@@ -95,8 +95,8 @@ export default {
|
||||
pagination.value.total = response.data.pagination.total;
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('获取猪年龄阶段列表失败:', error);
|
||||
ElMessage.error('获取猪年龄阶段列表失败');
|
||||
console.error('获取年龄阶段列表失败:', error);
|
||||
ElMessage.error('获取年龄阶段列表失败');
|
||||
} finally {
|
||||
loading.value = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user