search

Home  >  Q&A  >  body text

javascript - Page jump fails

It encapsulates a page jump method, but why can't that method be executed on the view? Please wait for guidance online. Thank you
This is the action I did on the view @click="open" is to jump. The links to jump are all in the item, and the item is also included. Other data, data passed to another page, I don’t know why the open method cannot be executedThis is an encapsulated component

淡淡烟草味淡淡烟草味2721 days ago687

reply all(2)I'll reply

  • 迷茫

    迷茫2017-06-14 10:52:55

    我猜是你的这个组件的用法的问题,应该是<open-window />,不要在你那组件里加<li>标签;
    你试试, 如果不对你急的话,可以把文件发我 ,我运行起来帮你看看

    reply
    0
  • 黄舟

    黄舟2017-06-14 10:52:55

    @click='open' => @click='open()', panic, is this the right answer?

    reply
    0
  • Cancelreply