提交 2a134ba1 编写于 作者: 雪洛's avatar 雪洛

feat(v3): add canvas

上级 e3b2fcda
此差异已折叠。
......@@ -24,3 +24,9 @@ export function getCurrentPageVm (method) {
const page = pages[len - 1]
return page.$vm
}
export function getCurrentPageId () {
const pages = getCurrentPages()
const page = pages[pages.length - 1]
return page && page.$page.id
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册