From fd934f83afae1e3fce46db8610837d0e0f4d9393 Mon Sep 17 00:00:00 2001
From: zmc <zmc_li@foxmail.com>
Date: 星期四, 02 十一月 2023 10:44:56 +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