Skip to content

Commit

Permalink
chore: update umirc
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Mar 18, 2021
1 parent 6b94850 commit 44f330c
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,11 @@ export default defineConfig({
'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4',
outputPath: '.doc',
exportStatic: {},
scripts: [{
content: `
(function () {
var timer = setInterval(function() {
try {
var menuList = document.getElementsByClassName('__dumi-default-menu-list');
menuList[0].childNodes[0].childNodes[0].innerText = '${name}';
clearInterval(timer);
} catch (e) {}
}, 200)
})();
styles: [
`
}]
.markdown table {
width: auto !important;
}
`,
]
});

1 comment on commit 44f330c

@vercel
Copy link

@vercel vercel bot commented on 44f330c Mar 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.