fix: 修复 legaoBuiltin typo & 增加 execEventFlow mock 函数

This commit is contained in:
lihao.ylh 2022-04-08 10:36:08 +08:00
parent 8284d761f3
commit 1d38a293f9

View File

@ -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) => {