这里有带有工具提示的数组
<script>
<?php
echo'
['$compname', '$dancerName placed $dancer_placed out of $competitors
Dance Name: $dance Comp Name: $feis Date: $date', '$dancer_placed'],
'
?>
</script>
在工具提示上,我希望它显示如下:
Lace place 14 out of 45
Dance Name: Boogie
Comp Name: New Jersey Light Worlds 2018
Date: Jan/1/2018
但是它显示的是这样
Lace place 14 out of 45
Dance Name: Boogie Comp
Name: New Jersey Light
Worlds 2018 Date: Jan
/1/2018
反正有换行符吗?
答案 0 :(得分:0)
您尝试了吗?
foo
或package.json