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
相同的ISSUE #5264
4.2.5
vue 3.5.7
#5264
<script setup> const value = ref() const status = ref(true) </script> <template> <h2>BUG</h2> <a-space :size="20" style="width: 100%"> <template v-if="status"> <a-input v-model:value="value" placeholder="1" /> 1 </template> <template v-if="!status"> <a-input v-model:value="value" placeholder="2" /> 2 </template> <div> <button type="button" @click="status = !status">{{ status }}</button> </div> </a-space> <h2>NO-BUG</h2> <div :size="20" style="width: 100%"> <template v-if="status"> <a-input v-model:value="value" placeholder="1" /> 1 </template> <template v-if="!status"> <a-input v-model:value="value" placeholder="2" /> 2 </template> <div> <button type="button" @click="status = !status">{{ status }}</button> </div> </div> </template>
生产环境和开发环境结果一致,placeholder正常变化
生产环境和开发环境结果不一致,开发环境placeholder正常变化,生产环境placeholder不变化
The text was updated successfully, but these errors were encountered:
No branches or pull requests
相同的ISSUE #5264
Version
4.2.5
Environment
vue 3.5.7
Reproduction link
#5264
Steps to reproduce
What is expected?
生产环境和开发环境结果一致,placeholder正常变化
What is actually happening?
生产环境和开发环境结果不一致,开发环境placeholder正常变化,生产环境placeholder不变化
The text was updated successfully, but these errors were encountered: