提交 d1339e9b 编写于 作者: fxy060608's avatar fxy060608

chore: merge

......@@ -1610,7 +1610,7 @@ function reload(id, newComp) {
if (typeof window !== 'undefined' &&
window.__setupPage &&
record.initialDef.__mpType === 'page') {
window.__setupPage(newComp);
newComp = window.__setupPage(newComp);
}
newComp = normalizeClassComponent(newComp);
// update initial def (for not-yet-rendered components)
......
......@@ -1630,7 +1630,7 @@ function reload(id, newComp) {
if (typeof window !== 'undefined' &&
window.__setupPage &&
record.initialDef.__mpType === 'page') {
window.__setupPage(newComp);
newComp = window.__setupPage(newComp);
}
newComp = normalizeClassComponent(newComp);
// update initial def (for not-yet-rendered components)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册