I have a problem when i call a method from component in the template by interpolation: {{get_method()}}
. The method runs, but in infinite loop I don't know why. Any help please ??
the code of method is like this :
get_name() {
console.log("bonjour");
}
and I call it in my template like this :
{{get_name()}}
and this is the result :
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…