From 7edeae2afca0571ea1fd876b2e990637dc3306b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=8E?= Date: Fri, 18 Feb 2022 11:43:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9B=9E=E8=B0=83=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈明 --- runtime/main/extend/systemplugin/napi/workScheduler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/main/extend/systemplugin/napi/workScheduler.js b/runtime/main/extend/systemplugin/napi/workScheduler.js index bb8a5730..374d0947 100644 --- a/runtime/main/extend/systemplugin/napi/workScheduler.js +++ b/runtime/main/extend/systemplugin/napi/workScheduler.js @@ -17,7 +17,7 @@ import { paramMock } from "../utils" export function mockWorkScheduler() { const WorkInfoMock = { - workId: '[PC preview] unknown requestId', + workId: '[PC preview] unknown workId', bundleName: '[PC preview] unknown bundleName', abilityName: '[PC preview] unknown abilityName', isPersisted: '[PC preview] unknown isPersisted', @@ -96,6 +96,7 @@ export function mockWorkScheduler() { stopAndClearWorks: function (...args) { console.warn("workScheduler.stopAndClearWorks interface mocked in the Previewer. How this interface works on the" + " Previewer may be different from that on a real device.") + return paramMock.paramBooleanMock; }, isLastWorkTimeOut: function (...args) { console.warn("workScheduler.isLastWorkTimeOut interface mocked in the Previewer. How this interface works on the" +