提交 b2d9e688 编写于 作者: Mosher's avatar Mosher

update:更新

上级 c35863e9
......@@ -135,7 +135,9 @@ export default class EditView2Engine extends EditViewEngine {
const navPos: any = Object.values(this.view.layoutModelDetails).find((item: any) => {
return item.predefinedType === "NAV_POS";
});
navPos.navData = data;
if (navPos) {
navPos.navData = data;
}
}
/**
......
......@@ -135,7 +135,9 @@ export default class EditView3Engine extends EditViewEngine {
const navPos: any = Object.values(this.view.layoutModelDetails).find((item: any) => {
return item.predefinedType === "NAV_POS";
});
navPos.navData = data;
if (navPos) {
navPos.navData = data;
}
}
/**
......
......@@ -135,7 +135,9 @@ export default class EditView4Engine extends EditViewEngine {
const navPos: any = Object.values(this.view.layoutModelDetails).find((item: any) => {
return item.predefinedType === "NAV_POS";
});
navPos.navData = data;
if (navPos) {
navPos.navData = data;
}
}
/**
......
......@@ -163,7 +163,9 @@ export class ExpViewEngine extends ViewEngine {
const navPos: any = Object.values(this.view.layoutModelDetails).find((item: any) => {
return item.predefinedType === "NAV_POS";
});
navPos.navData = data;
if (navPos) {
navPos.navData = data;
}
}
/**
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册