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
迷茫2017-06-14 10:52:55
我猜是你的这个组件的用法的问题,应该是<open-window />,不要在你那组件里加<li>标签;
你试试, 如果不对你急的话,可以把文件发我 ,我运行起来帮你看看