Open BoHuny opened 3 years ago
16.8.3
codesandbox.io
Use an expression containing [] (brackets) inside a dynamic argument for a directive
No compilation error
VueCompilerError: Error parsing JavaScript expression: Unexpected token, expected "]"
This used to work on Vue 2
Version
16.8.3
Reproduction link
codesandbox.io
Steps to reproduce
Use an expression containing [] (brackets) inside a dynamic argument for a directive
What is expected?
No compilation error
What is actually happening?
VueCompilerError: Error parsing JavaScript expression: Unexpected token, expected "]"
This used to work on Vue 2