我把 main.ls 的init-autocomplete 的內容放在views.ls 的一個Component的componentDidMount 就可以