提交 561c6ed0 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

Merge branch 'dev' of https://gitcode.net/dcloud/hello-uni-app-x into dev

...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
const fnOnce = (options: any | null) => { const fnOnce = (options: any | null) => {
console.log('dialogPage1 be triggered fnOnce', options) console.log('dialogPage1 be triggered fnOnce', options)
setLifeCycleNum(state.lifeCycleNum + 1) setLifeCycleNum(state.lifeCycleNum + 1)
} }
dialogPage.on('fn1', fn1) dialogPage.on('fn1', fn1)
dialogPage.on('fn1', fn11) dialogPage.on('fn1', fn11)
dialogPage.on('fn2', fn2) dialogPage.on('fn2', fn2)
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
}) })
}, },
closeSpecifiedDialog(index: number) { closeSpecifiedDialog(index: number) {
const dialogPages = this.getDialogPages() const dialogPages = this.$page.getDialogPages()
uni.closeDialogPage({ uni.closeDialogPage({
dialogPage: dialogPages[index], dialogPage: dialogPages[index],
success(res) { success(res) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册