Skip to content
New issue

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

浏览器开启翻译成中文后,输入框v-model无法正常双向绑定。 #10452

Closed
luo772435545 opened this issue Mar 4, 2024 · 1 comment

Comments

@luo772435545
Copy link

Vue version

"vue": "^3.4.15"

Link to minimal reproduction

https://play.vuejs.org/#eNp9kDFPwzAQhf/KyUtBKmGAqaRIgDrAAAgYvUTpJbg4tmWfQ6Qo/52zowYG1M137z3fdzeKO+eKPqLYiDLUXjmCgBQd6Mq0WykoSHErjeqc9QSjx2aCxtsOpOCUFDfS1NYEgr7SEWEL7Dhbrc6lKS/n/zjNBWHndEXIFUCpjIscuejsHjVPyeE8CGAcczVN6YslJtaMwpMa1RaHYA3zjsktRW07pzT6F0eKSaTYQFaSVmltv59yj3zE9bFff2L99U//EIbUk+LVY0DfM9OiUeVbpFnevT/jwO9F5EWiZvcJ8Q2D1TExzrb7aPaM/ceXaR/zpZVpP8JuIDThuFQCTc4p+/P5H06s/ot7VVznnDSTmH4AysuljQ==

Steps to reproduce

<script setup lang="ts">
import {ref} from "vue";
const value = ref('')
</script>

<template>
  <input v-model="value">
  {{value}}
</template>
  1. 先输入部分字符
  2. 右键点击翻译成中文(简体)
  3. 继续输入字符
    value 未正常渲染了

What is expected?

value值正常运行

What is actually happening?

v-model绑定的值,未正常双向绑定

System Info

win10

Any additional comments?

@haoqunjiang
Copy link
Member

vuejs/vue#9008 (comment)
vuejs/vue#9160 (comment)

Vue.js 不保证在浏览器翻译插件下正常工作。

@haoqunjiang haoqunjiang closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants