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

🐛 [Bug]: TextPopup 绑定值字段应当为 modelValue 而不是 value

Open hashiqi12138 opened this issue 9 months ago • 2 comments

Version

latest

Vue Version

latest

Link to minimal reproduction

Step to reproduce

What is expected

TextPopup 绑定值字段应当为 modelValue 而不是 value

What is actually happening

TextPopup 绑定值字段应当为 modelValue 而不是 value

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]: TextPopup The bound value field should be modelValue instead of value

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

opentiny/tiny-vue 仓库中,我找到了与 TextPopup 组件相关的代码。根据代码内容,TextPopupmodel 属性确实是绑定到 modelValue,而不是 value。这表明您的问题描述是准确的。

以下是 TextPopup 组件的相关代码片段:

TextPopup.model = {
  prop: 'modelValue',
  event: 'update:modelValue'
};

如果您希望修复这个问题,可以在您的项目中确保使用 modelValue 作为绑定值字段,而不是 value。如果您需要进一步的帮助或有其他问题,请随时告诉我。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

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