“go”需要表达式,因此您可以使用字符串外推来处理此问题,就像使用 javascript 一样:
_="on keyup[key is 'Enter'] go to `/checklists/${this.value}`"