Commit 6f7f333e authored by vlssu's avatar vlssu

更新src/utility/utility.ts

parent a1855d8d
Pipeline #12945 passed with stages
in 1 minute and 14 seconds
......@@ -91,7 +91,7 @@ export function renderObject(object: any, view: any, visited: Set<any>): any {
if (!view || !object) {
return object;
}
visited ??= new Set();
visited = new Set();
if (typeof object === 'string') {
return Mustache.render(object, view, undefined, { escape: (v) => v });
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment