From 0ee16e9f5dd31c6c98df1a5fdcf081c8eb7f80df Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期二, 14 十一月 2023 13:15:55 +0800
Subject: [PATCH] 修改了获取风险值的请求接口

---
 src/sfc/MonthSelect.vue |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/sfc/MonthSelect.vue b/src/sfc/MonthSelect.vue
index 9fd922e..181a160 100644
--- a/src/sfc/MonthSelect.vue
+++ b/src/sfc/MonthSelect.vue
@@ -17,6 +17,12 @@
 import dayjs from 'dayjs';
 
   export default {
+    props:{
+      month:{
+         type:String,
+        default:''
+      }
+    },
     emits:['submitValue'],
     
     data() {
@@ -24,6 +30,13 @@
         value:''
       }
     },
+    watch:{
+      month(){
+        if(this.month!=''){
+          this.value = this.month
+        }
+      }
+    },
     mounted() {
         this.pre_month()
     },

--
Gitblit v1.9.3