fix: fix let binding value reading error from slot template

pull/7667/head
qinmu 4 years ago
parent 3798808e74
commit bb4aae018a

@ -323,7 +323,7 @@ export default class Expression {
const func_expression = func_declaration[0];
if (node.type === 'InlineComponent') {
if (node.type === 'InlineComponent' || node.type === 'SlotTemplate') {
// <Comp let:data />
this.replace(func_expression);
} else {

Loading…
Cancel
Save