使用onclick报SyntaxError: identifier starts immediately after numeric literal
少了‘’
错误
onclick="onlineWatch(${row.title})"
正确
onclick="onlineWatch('${row.title}')"
耐得住寂寞,才能登得顶
Gitee码云:https://gitee.com/lyc96/projects
少了‘’
错误
onclick="onlineWatch(${row.title})"
正确
onclick="onlineWatch('${row.title}')"