es6模板字符串,想传递两个参数player,i,提示错误localVideo.html:1 Uncaught SyntaxError: Unexpected identifier?应该怎么改?
其中player是一个对象<span ondblclick="switchGroup(${player},${i})">${(i-1)*25+1}-${i*25}</span>
es6模板字符串,想传递两个参数player,i,提示错误localVideo.html:1 Uncaught SyntaxError: Unexpected identifier?应该怎么改?
其中player是一个对象<span ondblclick="switchGroup(${player},${i})">${(i-1)*25+1}-${i*25}</span>
3 回答39.1k 阅读
1 回答2.6k 阅读
2 回答703 阅读✓ 已解决
4 回答23.6k 阅读
1 回答4.8k 阅读