有沒有辦法讓AngularJS在模型數據中評估一個表達式?AngularJS Expression in Expression
HTML:
<p>
{{Txt}}
</p>
型號:
{
Txt: "This is some text {{Rest}}"
}
{
Rest: "and this is the rest of it."
}
最終的結果將是:This is some text and this is the rest of it
。
這就是答案!非常感謝! – AnotherDeveloper
非常好!謝謝 –