フィールド名が配列型のページがあります。Vuejsで括弧でデータを指定する最も良い方法は何ですか?
[Vue warn]: Property or method "map" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.
vue.js:569 [Vue warn]: Property or method "email_address" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.
vue.js:569 [Vue warn]: Error in render function:
(found in <Root>)
は何ですか
eg. mapping[map][email_address][type]
は今Vueの中で、私は、デフォルト値を設定したいと私は
new Vue({
el: '#configure',
data: {
mapping: {
map: {
email_address: {
type: 'incoming_field'
}
}
}
}
})
以下のようにそれをやっているしかし、私は、コンソールにエラーが発生しますVuejsでそのようなフィールド名を処理する最良の方法は?パーとして