Skip to content

Commit

Permalink
fix: 命令冲突
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBboys committed Oct 10, 2024
1 parent e88429e commit 1897ab9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ElementPlusDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export type IElementPlusConfig = {

// ElementPlusDialog全局挂载点
let mountNode: HTMLElement | undefined = void 0
export const setMountNode = (node: HTMLElement | undefined) => {
export const setElementPlusDialogMountNode = (node: HTMLElement | undefined) => {
mountNode = node
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/VantUiPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type IVantUiConfig = {

// VantUiPopup全局挂载点
let mountNode: HTMLElement | undefined = void 0
export const setMountNode = (node: HTMLElement | undefined) => {
export const setVantUiPopupMountNode = (node: HTMLElement | undefined) => {
mountNode = node
}

Expand Down

0 comments on commit 1897ab9

Please sign in to comment.