提交 689ef27e 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新dialogPage示例

上级 1643d812
......@@ -203,9 +203,8 @@
uni.closeDialogPage({});
},
setPageStyleForTest(style : UTSJSONObject) {
const pages = getDialogPages();
const currentPage = pages[pages.length - 1];
currentPage.setPageStyle(style);
const pages = this.$page.getDialogPages();
if (pages.length > 0) pages[pages.length - 1].setPageStyle(style);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册