WXL
2024-10-29 f1d0ce11bdb197784b1d3a3f83874250e0b29fa6
src/App.vue
@@ -2,7 +2,7 @@
  <div id="app">
    <router-view />
    <theme-picker />
    <Assistant v-if="" />
    <!-- <Assistant v-if="routertf" /> -->
  </div>
</template>
@@ -15,6 +15,16 @@
    ThemePicker,
    Assistant: () => import("./components/Assistant"), //异步组件加载方式
  },
  data() {
    return {
      routers: window.location.href,
      routertf: true,
    };
  },
  created() {
    var startIndex = this.routers.indexOf("param5=") + "param5=".length; // 找到第一个字符的位置
    this.routertf = JSON.parse(this.routers.substring(startIndex)); // 截取从 'param5=' 之后的内容
  },
  metaInfo() {
    return {
      title: