...
This commit is contained in:
parent
d40fb2c5cf
commit
3281a491a6
|
@ -65,7 +65,7 @@ export default class {
|
|||
};
|
||||
|
||||
render(file, data = {}, locals) {
|
||||
data = { ...data, ...this.#globals, ...locals };
|
||||
data = { ...data, ...locals, ...this.#globals };
|
||||
try {
|
||||
const code = 'with(_data){const __html = [];' +
|
||||
'__html.push(\`' +
|
||||
|
|
Loading…
Reference in New Issue
Block a user