Resolve Vue error empty block XXXX

1. Reason for error reporting
under the strict syntax mode of Vue, empty code blocks are not allowed. For example, if (true) {
} how can Vue report this error when the if condition is true
2. The solution is to modify the code logic by itself. The specific modification should be determined according to the specific code, as long as it is ensured that there are no empty code blocks

Read More: