Match-id-e9b03e4853962a0a72ef084c175004435c98aec5

This commit is contained in:
* 2022-01-26 10:01:52 +08:00 committed by *
parent 14ac0163a1
commit 18ab628b5b
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ function getChildNS(parentNS: string | null, tagName: string): string {
}
// 获取容器
export function getNSCtx(parentNS: string, type: string, dom: Container | undefined): string {
export function getNSCtx(parentNS: string, type: string, dom?: Container): string {
return dom ? getChildNS(dom.namespaceURI ?? null, dom.nodeName) : getChildNS(parentNS, type);
}