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
3.4.27
https://play.vuejs.org/#eNp9UcFKw0AQ/ZV1L2mhplQFIcaCSkE9qKjgZUHSZJKmJrvL7iZWQj7AX/DkH3jx4KGfo+DNX3B2S2sP0tvOvDfz3ptt6JGUfl0BDWioY5VLQzSYSg4Zz0splCENUZCSlqRKlMRDqsc447Hg2pBSZ+TQ4h3vFIpCkDuhimTL6y4JJrIE72v++vnx/P32/jN/8Q4YD/sLLVTBwkApi8gAVoSEk8Gwadzmtg37WFn6GgVLbZ4KIDoWEhLsTAZBMIZUKGjsBlQ2wE1A6u1xzpMOeuiiZutk7eSQ9qjBaZ7mmT/VgmN4N8loLEqZF6AupckxAKMBcYjFIgz4eO56RlXQW/bjCcQP//SnemZ7jF4p0KBqYHSFmUhlYBbw6OYCZvhegaVIqgLZG8Br0KKorMcF7bjiCdpe4zm3Z+4Lc57d6tEMj6KXoaxRy2wdn1H81pMN0f/s7vp7bg7viVe8r0HZnXhABPydfdr+At3JydA=
下面的代码,“张三说:”不显示 `<script setup> import { ref } from 'vue'
const msg = ref('Hello World!') const tag = '张三说:'; </script>
v-bind,生成的变量,在碰到context 时,两边会出现 两个单引号
代码中,v-bind,生成的变量少了两个单引号,
No response
The text was updated successfully, but these errors were encountered:
用户可以很简单的解决这个问题: const tag = '"张三"'; 如果进行特殊处理,可能会是一个 breaking change, 因为有些用户可能已经 '"张三"' 这么做了。
const tag = '"张三"';
'"张三"'
Sorry, something went wrong.
No branches or pull requests
Vue version
3.4.27
Link to minimal reproduction
https://play.vuejs.org/#eNp9UcFKw0AQ/ZV1L2mhplQFIcaCSkE9qKjgZUHSZJKmJrvL7iZWQj7AX/DkH3jx4KGfo+DNX3B2S2sP0tvOvDfz3ptt6JGUfl0BDWioY5VLQzSYSg4Zz0splCENUZCSlqRKlMRDqsc447Hg2pBSZ+TQ4h3vFIpCkDuhimTL6y4JJrIE72v++vnx/P32/jN/8Q4YD/sLLVTBwkApi8gAVoSEk8Gwadzmtg37WFn6GgVLbZ4KIDoWEhLsTAZBMIZUKGjsBlQ2wE1A6u1xzpMOeuiiZutk7eSQ9qjBaZ7mmT/VgmN4N8loLEqZF6AupckxAKMBcYjFIgz4eO56RlXQW/bjCcQP//SnemZ7jF4p0KBqYHSFmUhlYBbw6OYCZvhegaVIqgLZG8Br0KKorMcF7bjiCdpe4zm3Z+4Lc57d6tEMj6KXoaxRy2wdn1H81pMN0f/s7vp7bg7viVe8r0HZnXhABPydfdr+At3JydA=
Steps to reproduce
下面的代码,“张三说:”不显示
`<script setup>
import { ref } from 'vue'
const msg = ref('Hello World!')
const tag = '张三说:';
</script>
{{ msg }}
<style scoped> h1::before{ content: v-bind(tag); } </style>`What is expected?
v-bind,生成的变量,在碰到context 时,两边会出现 两个单引号
What is actually happening?
代码中,v-bind,生成的变量少了两个单引号,
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: