javascript - Two-way binding problem of vue dynamic data
大家讲道理
大家讲道理 2017-05-18 10:45:27
0
1
561

Form form two-way binding problem, the object defined in my data is dynamically generated,

in the form form

This is not possible for two-way binding


This definition is okay. What is the reason?
Welcome to all the education bosses

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
给我你的怀抱

理解下官网文档中这句话Link description

Since Vue will perform the getter/setter conversion process on the attribute when initializing the instance, the attribute must exist on the data object in order for Vue to convert it, so that it can be responsive

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template