From 2fd7b502110d916d7bc43ab1e88f6586fa2cd3c3 Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期五, 03 十一月 2023 11:27:21 +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