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

fix: 修复 android 编译错误

上级 062c0505
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
const parentPage = this.$getParentPage()! const parentPage = this.$getParentPage()!
const grandParentPage = parentPage.$getParentPage() const grandParentPage = parentPage.$getParentPage()
const dialogPages = parentPage.$getDialogPages() const dialogPages = parentPage.$getDialogPages()
const dialogPage = this.$dialogPage const dialogPage = this.$dialogPage!
if ( if (
currentPages.length == 1 && currentPages.length == 1 &&
grandParentPage == null && grandParentPage == null &&
...@@ -55,13 +55,13 @@ ...@@ -55,13 +55,13 @@
// 自动化测试 // 自动化测试
setLifeCycleNum(state.lifeCycleNum + 1) setLifeCycleNum(state.lifeCycleNum + 1)
} }
this.$dialogPage.$emit('fn1', {from: 'dialog1'}) dialogPage.$emit('fn1', {from: 'dialog1'})
this.$dialogPage.$emit('fn2', null) dialogPage.$emit('fn2', null)
this.$dialogPage.$off('fn2') dialogPage.$off('fn2', null)
this.$dialogPage.$emit('fn1', {from: 'dialog1'}) dialogPage.$emit('fn1', {from: 'dialog1'})
this.$dialogPage.$emit('fn2', null) dialogPage.$emit('fn2', null)
this.$dialogPage.$emit('fnOnce', null) dialogPage.$emit('fnOnce', null)
this.$dialogPage.$emit('fnOnce', null) dialogPage.$emit('fnOnce', null)
}, },
onHide() { onHide() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册