tiny-vue
tiny-vue copied to clipboard
🐛 [Bug]: TextPopup 绑定值字段应当为 modelValue 而不是 value
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)
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
在 opentiny/tiny-vue 仓库中,我找到了与 TextPopup 组件相关的代码。根据代码内容,TextPopup 的 model 属性确实是绑定到 modelValue,而不是 value。这表明您的问题描述是准确的。
以下是 TextPopup 组件的相关代码片段:
TextPopup.model = {
prop: 'modelValue',
event: 'update:modelValue'
};
如果您希望修复这个问题,可以在您的项目中确保使用 modelValue 作为绑定值字段,而不是 value。如果您需要进一步的帮助或有其他问题,请随时告诉我。