刘嘉威
2022-10-21 959032b71f4b4fd5e3435fcf1405f1ccaa7f8423
src/views/HomeView.vue
@@ -1,10 +1,10 @@
<script setup lang="ts">
import {ref} from "vue"
import { ref } from "vue";
import { RouterView } from "vue-router";
import ScaleScreen from "@/components/scale-screen";
import Headers from "./header.vue";
const wrapperStyle = {};
const autoScale = ref(false)
const autoScale = ref(false);
</script>
<template>
@@ -13,7 +13,10 @@
    height="1080"
    :delay="500"
    :fullScreen="false"
    :boxStyle="{ background: '#03050C',overflow:autoScale?'hidden':'auto' }"
    :boxStyle="{
      background: '#03050C',
      overflow: autoScale ? 'hidden' : 'auto',
    }"
    :wrapperStyle="wrapperStyle"
    :autoScale="autoScale"
  >