refactor(page): rename pageId

This commit is contained in:
tzhangchi
2022-09-08 19:20:37 +08:00
parent 9442c023e5
commit 281c3f6c44
17 changed files with 58 additions and 61 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ export function getUserDisplayName(user?: UserInfo) {
}
/**
* Get page_id from URL
* @returns page_id
* Get pageId from URL
* @returns pageId
*/
export function getPageId() {
const path = window.location.pathname.match(/\/(\w+)\/(\w+)/);