提交 b27ea9dc authored 作者: lidongxu's avatar lidongxu

fix(supply): 紧急修复_供应链分析_自定义分组

新增后不刷新再编辑会出来两个_改成新增后重新获取下列表
上级 6812966f
......@@ -142,6 +142,7 @@ const getReportList = async () => {
const { data: otherData } = await getReportListBySelfAPI()
reportList.value = data.concat(otherData)
// 右侧分组列表
const res = await getReportListByGroupAPI({
categoryName: '供应链报表'
......@@ -203,9 +204,9 @@ const addGroups = async () => {
items: []
})
groups.value.push({
groupName: '新分组',
items: []
// 获取分组
await getReportList({
categoryName: '供应链报表'
})
}
</script>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论