--fix 路径图整体修改

This commit is contained in:
yuping
2023-02-16 13:08:35 +08:00
parent 57681e0725
commit 00c50a9e3c
31 changed files with 10910 additions and 9567 deletions

View File

@@ -2192,15 +2192,12 @@ export default {
const reget = () => {
GetRouterDetail(state.routerId).then((res) => {
console.log("获取路径图详情", res);
console.log(
!!res.data.data?.chapterList.some(({ taskList }) => taskList.length)
);
state.styTitle = res.data.data.routerInfo.name;
state.cretime = res.data.data.routerInfo.createTime;
state.picUrl = res.data.data.routerInfo.picUrl;
state.action = res.data.data.routerInfo.status;
state.remark = res.data.data.routerInfo.remark;
state.hasTask = !!res.data.data?.chapterList.some(
state.hasTask = !!res.data.data?.chapterList?.some(
({ taskList }) => taskList.length
);
state.act =