Using the decorator may prompt property assignment expected. Vetur (1136)
Because eslint is used to check the code format, you can turn off the ability of vetur to verify script. Please add the following code in vscode settings
"vetur.validation.script": false,