提交 552d58de 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

refactor(dialogPage): 调整方法命名

上级 2c589160
......@@ -43,9 +43,9 @@
// 自动化测试
setLifeCycleNum(state.lifeCycleNum + 1)
const currentPages = getCurrentPages()
const parentPage = this.$getParentPage()!
const grandParentPage = parentPage.$getParentPage()
const dialogPages = parentPage.$getDialogPages()
const parentPage = this.getParentPage()!
const grandParentPage = parentPage.getParentPage()
const dialogPages = parentPage.getDialogPages()
const dialogPage = this.$dialogPage!
if (
currentPages.length == 1 &&
......
......@@ -165,7 +165,7 @@
})
},
closeSpecifiedDialog(index: number) {
const dialogPages = this.$getDialogPages()
const dialogPages = this.getDialogPages()
uni.closeDialogPage({
dialogPage: dialogPages[index],
success(res) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册