Merge branch 'dev' into next

This commit is contained in:
chenjiahan
2020-05-28 14:14:28 +08:00
253 changed files with 9524 additions and 5523 deletions
+1 -3
View File
@@ -4,9 +4,7 @@ export function scrollToAnchor(selector) {
const timer = setInterval(() => {
const el = document.querySelector(selector);
if (el) {
el.scrollIntoView({
behavior: 'smooth',
});
el.scrollIntoView();
clearInterval(timer);
} else {
count++;