提交 12771e04 编写于 作者: Y yqhan

Modify NewSecondWorker case problem

Describe: There is a problem with NewSecondWorker case, missing variable
definition.

issue:https://gitee.com/openharmony/xts_acts/issues/I51JZ2Signed-off-by: Nyqhan <hanyuqing2@huawei.com>
上级 388b54ff
...@@ -17,6 +17,7 @@ import worker from "@ohos.worker" ...@@ -17,6 +17,7 @@ import worker from "@ohos.worker"
const parentPort = worker.parentPort; const parentPort = worker.parentPort;
var ss = undefined; var ss = undefined;
var flag = false;
parentPort.onmessage = function(e) { parentPort.onmessage = function(e) {
let data = e.data; let data = e.data;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册