We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vue 常用于获取类似 str = "a.b" 的一个逻辑
str = "a.b"
let arr = str.split('.') let val = vm arr.forEach(arr => { val = val[arr] // 最后获取到 this.a.b 的值 })