Replies: 3 comments 1 reply
|
当前还没有很方便的方法可以获取到路由的页面信息。 可以这样实现:
function getRouter() {
// 页面 JS 的方法可以获取到页面路由 this.router、this.route
return this.router
}
<a-button :router="getRouter()" ></a-button> |
0 replies
|
从前端api中能取到页面设置的内容吗(包含页面名称和路由等)? |
1 reply
|
你的邮件我已经收到。谢谢
黄开雁
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
如题,在自建的设计器组件中,想要获取当前页面的路由。

All reactions