vue3+ts
The console.log is output, but an error console.log(…) is not a function is still reported, as shown in the figure below
The next sentence begins with parentheses and the previous line has no terminator
add a semicolon