WXL
2024-07-16 df21bfb0065ec44c06cd9d3fcd3dc41582cc91a9
src/App.vue
@@ -2,7 +2,7 @@
  <div id="app">
    <router-view />
    <theme-picker />
    <Assistant />
    <Assistant v-if="routertf" />
  </div>
</template>
@@ -14,6 +14,23 @@
  components: {
    ThemePicker,
    Assistant: () => import("./components/Assistant"), //异步组件加载方式
  },
  data() {
    return {
      routers: this.$route.path.split("/").pop(),
      routertf: true,
    };
  },
  created() {
    this.routertf = this.$route.param5;
    console.log(this.routertf);
    if (
      this.routers == "outsideChainxj" ||
      this.routers == "outsideChain" ||
      this.routers == "outsideChainwt"
    ) {
      this.routertf = false;
    }
  },
  metaInfo() {
    return {
@@ -31,7 +48,7 @@
</script>
<style scoped>
#app {
  overflow: scroll;
  overflow-y: scroll;
  height: 100vh;
  background: #f8fafd;
  /* font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif, "宋体"; */