message: chore(cli): optimize code
diff: import VanDoc from './components';
  import { config } from 'site-desktop-shared';
  import { setLang } from '../common/locales';
  -import { scrollToAnchor } from './utils';
  export default {
  components: {
  @@ -82,14 +81,6 @@ export default {
  },
  },
  - mounted() {
  - setTimeout(() => {
  - if (this.$route.query.anchor) {
  - scrollToAnchor(this.$route.query.anchor);
  - }
  - });
  - },
  -
  methods: {
  setTitle() {
  let { title } = this.config;
  