国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

laravel - How to parse variables in a tag when using vuejs?
過去多啦不再A夢(mèng)
過去多啦不再A夢(mèng) 2017-05-16 16:46:42
0
4
603

When using vuejs, how to parse variables in a tag?
For example, this one:

<a href="/articles/@{{ item.id }}/edit"></a>

What you see in the browser debugging window when you press F12 is like this, but it cannot be parsed:

<a href="/articles/{{ item.id }}/edit"></a>

How to write it?

過去多啦不再A夢(mèng)
過去多啦不再A夢(mèng)

reply all(4)
習(xí)慣沉默

/q/10...

You can take a look at my previous answers

給我你的懷抱

:href="JS expression"

Peter_Zhu

Why add @?

過去多啦不再A夢(mèng)

href is an attribute, not content. You cannot use {{}} to bind data. You must use the form: href="expression"

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template