提交 6ef0f404 编写于 作者: Z zhongjianfei

zhongjianfei@huawei.com

Signed-off-by: Nzhongjianfei <zhongjianfei@huawei.com>
Change-Id: I291b1ea545d6ecb2bd58318791a98d7afcaa6e8c
上级 ff5e9288
...@@ -20,7 +20,7 @@ import {Core, ExpectExtend} from 'deccjsunit/index' ...@@ -20,7 +20,7 @@ import {Core, ExpectExtend} from 'deccjsunit/index'
const injectRef = Object.getPrototypeOf(global) || global const injectRef = Object.getPrototypeOf(global) || global
injectRef.regeneratorRuntime = require('@babel/runtime/regenerator') injectRef.regeneratorRuntime = require('@babel/runtime/regenerator')
var once = true
export default { export default {
data: { data: {
title: "" title: ""
...@@ -29,6 +29,8 @@ export default { ...@@ -29,6 +29,8 @@ export default {
this.title = this.$t('strings.world'); this.title = this.$t('strings.world');
}, },
onShow() { onShow() {
if (once) {
once = false
console.info('onShow finish') console.info('onShow finish')
const core = Core.getInstance() const core = Core.getInstance()
const expectExtend = new ExpectExtend({ const expectExtend = new ExpectExtend({
...@@ -42,6 +44,7 @@ export default { ...@@ -42,6 +44,7 @@ export default {
require('../../../test/List.test') require('../../../test/List.test')
core.execute() core.execute()
}
}, },
onReady() { onReady() {
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册