We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
下面这个网页用v2.0.0-beta.3/dist/vue.min.js正常,用beta.4-7都没有生成内容
<!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" > <head> <title>vue2 test</title> <script src="https://raw.githubusercontent.com/vuejs/vue/v2.0.0-beta.7/dist/vue.min.js"></script> <style> .a {color: green} .b {color: red} </style> </head> <body> <div id='test1'> <h1 id='content1' :class='active =="x1" ? "a" :"b"'>ttt2345</h1> </div> </body> <script> vue1 = new Vue({ el: '#test1', data: { active: "x1", }, }) </script> </html>
The text was updated successfully, but these errors were encountered:
fix quote decoding for templates retrieved from innerHTML (fix #3403)
6e1597c
修正了,不过建议属性全部用双引号,里面的内容用单引号。
Sorry, something went wrong.
原来是这样.谢了.
No branches or pull requests
下面这个网页用v2.0.0-beta.3/dist/vue.min.js正常,用beta.4-7都没有生成内容
The text was updated successfully, but these errors were encountered: