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

test: 调试 ios 测试异常

上级 f8efafe1
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
}, },
onShow: function (options) { onShow: function (options) {
// 自动化测试 // 自动化测试
setLifeCycleNum(state.lifeCycleNum + 100) setLifeCycleNum(state.lifeCycleNum + 106)
setAppShowPath(options.path) setAppShowPath(options.path)
if(this.globalPropertiesStr === 'default string'){ if(this.globalPropertiesStr === 'default string'){
setLifeCycleNum(state.lifeCycleNum + 10) setLifeCycleNum(state.lifeCycleNum + 10)
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
// #endif // #endif
onError: function(error: any) { onError: function(error: any) {
console.log('App Error', error) console.log('App Error', error)
setLifeCycleNum(state.lifeCycleNum + 100) setLifeCycleNum(state.lifeCycleNum + 101)
}, },
methods: { methods: {
checkLaunchPath() : boolean { checkLaunchPath() : boolean {
......
...@@ -16,7 +16,7 @@ const emit = defineEmits<{ ...@@ -16,7 +16,7 @@ const emit = defineEmits<{
onLoad((_ : OnLoadOptions) => { onLoad((_ : OnLoadOptions) => {
// 自动化测试 // 自动化测试
setLifeCycleNum(state.lifeCycleNum + 100) setLifeCycleNum(state.lifeCycleNum + 102)
}) })
onPageShow(() => { onPageShow(() => {
// 自动化测试 // 自动化测试
......
...@@ -77,7 +77,7 @@ onLoad((options : OnLoadOptions) => { ...@@ -77,7 +77,7 @@ onLoad((options : OnLoadOptions) => {
console.log('onLoad', options) console.log('onLoad', options)
isOnloadTriggered.value = true isOnloadTriggered.value = true
// 自动化测试 // 自动化测试
setLifeCycleNum(state.lifeCycleNum + 100) setLifeCycleNum(state.lifeCycleNum + 103)
}) })
onPageShow(() => { onPageShow(() => {
isOnPageShowTriggered.value = true isOnPageShowTriggered.value = true
......
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
console.log('onLoad', options) console.log('onLoad', options)
this.isOnloadTriggered = true this.isOnloadTriggered = true
// 自动化测试 // 自动化测试
setLifeCycleNum(state.lifeCycleNum + 100) setLifeCycleNum(state.lifeCycleNum + 104)
}, },
onShow() { onShow() {
this.isOnShowTriggered = true this.isOnShowTriggered = true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册