zhoushihao
2024-10-16 b932227695d1118a93b104df8b13987d78514710
UI-Project/src/views/NewPage.vue
@@ -35,9 +35,10 @@
  </template>  
     
     <script setup>  
     import { ref, onMounted, watch, watchEffect } from 'vue';
import {onMounted, ref, watch} from 'vue';
     import { useRoute, useRouter } from 'vue-router';  
     import request from "@/utils/request"
     const route = useRoute();  
     const router = useRouter();  
     const current = ref(route.query.current || '');  
@@ -110,7 +111,6 @@
         adjustedWidth = rect.width * (900/rect.olHeight);
         adjustedHeight = rect.height * (430/rect.olWidth);
        } 
        // 该页面为顺时针旋转90度
        let adjustedRect = {  
          ...rect,
          // x_axis: rect.y_axis * (959.35/rect.olHeight),