tiny-vue icon indicating copy to clipboard operation
tiny-vue copied to clipboard

🐛 [Bug]: UserHead 文档中 modelValue 与 v-model 为重复属性

Open hashiqi12138 opened this issue 9 months ago • 3 comments

Version

latest

Vue Version

latest

Link to minimal reproduction

Step to reproduce

What is expected

UserHead 文档中 modelValue 与 v-model 为重复属性

What is actually happening

UserHead 文档中 modelValue 与 v-model 为重复属性

What is your project name

Any additional comments (optional)

Image

hashiqi12138 avatar Mar 08 '25 03:03 hashiqi12138

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: ModelValue and v-model are duplicate properties in the UserHead document

Issues-translate-bot avatar Mar 08 '25 03:03 Issues-translate-bot

opentiny/tiny-vue 仓库中,我找到了与 UserHead 相关的代码文件。以下是一些相关文件的链接:

  1. UserHead 组件代码
  2. UserHead 样式文件
  3. UserHead 文档

从代码中可以看到,UserHead 组件的 model 配置中定义了 modelValue 属性用于双向绑定。然而,文档中提到 modelValuev-model 是重复的,这可能是文档中的一个错误或需要澄清的地方。

如果您希望我进一步调查或修改文档,请告诉我!如果需要,我可以帮助您创建一个问题来跟踪这个问题。请让我知道您的决定。

petercat-assistant[bot] avatar Mar 08 '25 03:03 petercat-assistant[bot]

Bot detected the issue body's language is not English, translate it automatically.


In the opentiny/tiny-vue repository, I found the code file related to UserHead. Here are some links to related files:

  1. UserHead component code
  2. UserHead style file
  3. UserHead Document

As you can see from the code, the modelValue property is defined in the model configuration of the UserHead component for bidirectional binding. However, the documentation mentions that modelValue and v-model are duplicates, which may be a bug in the documentation or where clarification is needed.

If you would like me to investigate further or modify the documentation, please let me know! If needed, I can help you create a question to track this question. Please let me know your decision.

Issues-translate-bot avatar Mar 08 '25 03:03 Issues-translate-bot