标签 - CMD
2022
CMD切换管理员权限
CMD切换管理员权限
ex) => { const mermaidSrc = item.firstElementChild const mermaidThemeConfig = '%%{init:{ \'theme\':\'' + theme + '\'}}%%\n' const mermaidID = 'mermaid-' + index const mermaidDefinition = mermaidThemeConfig + mermaidSrc.textContent mermaid.mermaidAPI.render(mermaidID, mermaidDefinition, (svgCode) => { mermaidSrc.insertAdjacentHTML('afterend', svgCode) }) }) } const loadMermaid = () => { window.loadMermaid ? runMermaid() : getScript('https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js').then(runMermaid) } window.pjax ? loadMermaid() : document.addEventListener('DOMContentLoaded', loadMermaid) } })()