From 1d38a293f9319f8e08523143081ae9c4ddb21280 Mon Sep 17 00:00:00 2001 From: "lihao.ylh" Date: Fri, 8 Apr 2022 10:36:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20legaoBuiltin=20typo?= =?UTF-8?q?=20&=20=E5=A2=9E=E5=8A=A0=20execEventFlow=20mock=20=E5=87=BD?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/react-simulator-renderer/src/renderer.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/react-simulator-renderer/src/renderer.ts b/packages/react-simulator-renderer/src/renderer.ts index db64f5b75..a66bb13a2 100644 --- a/packages/react-simulator-renderer/src/renderer.ts +++ b/packages/react-simulator-renderer/src/renderer.ts @@ -283,11 +283,12 @@ export class SimulatorRendererContainer implements BuiltinSimulatorRenderer { history.replace(withQueryParams(path, params)); }, }, - legaoBuiltins: { + legaoBuiltin: { getUrlParams() { const { search } = history.location; return parseQuery(search); }, + execEventFlow() {} }, i18n: { setLocale: (loc: string) => {