From 0cac9e63c68558909f7f99154c17f16f9bfc47fd Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期三, 20 十一月 2024 17:54:36 +0800
Subject: [PATCH] fixme 子组件初始化时机问题

---
 src/views/fysp/check/components/CompLedgerPic.vue |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/views/fysp/check/components/CompLedgerPic.vue b/src/views/fysp/check/components/CompLedgerPic.vue
index d209ac7..3c5e154 100644
--- a/src/views/fysp/check/components/CompLedgerPic.vue
+++ b/src/views/fysp/check/components/CompLedgerPic.vue
@@ -30,7 +30,6 @@
 <script>
 import problemApiFytz from '@/api/fytz/problemApi.js';
 import userApi from '@/api/fysp/userApi.js';
-import mediafileApi from '@/api/fysp/mediafileApi.js';
 import { svToTz } from '@/enum/scene';
 import { $fytz } from '@/api/index';
 import { useCloned } from '@vueuse/core';
@@ -38,9 +37,9 @@
   watch: {
     activeName: {
       handler(newObj, oldObj) {
-        this.imgList = this.imgListAll.filter(item=>{
-          return item.ledgerType == newObj
-        })
+        this.imgList = this.imgListAll.filter((item) => {
+          return item.ledgerType == newObj;
+        });
       },
       immediate: true
     }
@@ -120,7 +119,7 @@
 </script>
 <style scoped>
 .imgs {
-  height: 370px;
+  /* height: 650px; */
   width: 90%;
   min-height: 100px !important;
   /* border-style:solid;
@@ -181,7 +180,7 @@
   padding: 5px;
 }
 .btns {
-  height: 10%;
+  /* height: 10%; */
 }
 .center {
   display: flex;

--
Gitblit v1.9.3