我想把我的哈巴狗数组写成多行,如下所示:
- var data = [ ["1", "1.1"], "2" ]
但帕格不允许它.我必须像这样atm写它:
- var data = [["1", "1.1"], "2"]
任何的想法?感谢帮助.
如https://github.com/pugjs/pug/issues/502#issuecomment-137893041中所述
试试这个:
- var data = [ ["1", "1.1"], "2" ]
请注意,-
它位于单独的行中.