v-model value must be a valid JavaScript member expression
Version
3.1.0-beta.7
Reproduction link
https://github.com/RyzenPan/vue3-element-plus-vite
Steps to reproduce
I set a v-model value is v-model="data[item.dataIndex[0]]"
data = { startTime: '' } item.dataIndex[0] = 'startTime'
item.dataIndex[0] is String
but the console thorw error v-model value must be a valid JavaScript member expression
What is expected?
It is not error
What is actually happening?
v-model value must be a valid JavaScript member expression
the linked "reproduction" does not contain the code mentioned in the description.
Please open a new issue with a real reproduction.
Hi, i got the same error since @vue/compiler-sfc
3.1.1
. It works fine with 3.0.11
VueCompilerError: v-model value must be a valid JavaScript member expression.
v-model="selectedFilters[index][value]"
Same here, I got the same error on @vue/compiler-sfc
3.1.0
and 3.1.1
VueCompilerError: v-model value must be a valid JavaScript member expression.
v-model="translations['zh-CN'][propName]"