@@ -507,7 +509,10 @@ const checkName = (_: any, value: any) =>
box-sizing: border-box;
width:300px;
height:100%;
- overflow-y: auto;
+ .tree{
+ max-height: 680px;
+ overflow-y: auto;
+ }
}
.right {
width: calc(100% - 280px);
diff --git a/src/views/system/NoticeRule/components/Save/components/NotifyWay.vue b/src/views/system/NoticeRule/components/Save/components/NotifyWay.vue
index 930f2e67..ff093d3b 100644
--- a/src/views/system/NoticeRule/components/Save/components/NotifyWay.vue
+++ b/src/views/system/NoticeRule/components/Save/components/NotifyWay.vue
@@ -73,6 +73,13 @@ onMounted(() => {
emit('update:value', options.value?.[0]?.value);
emit('update:name', options.value?.[0]?.label);
emit('change', {label: options.value?.[0]?.label, value: options.value?.[0]?.value});
+ }else{
+ options.value.find((item:any)=>{
+ if(item.value === props.value){
+ emit('update:name',item.label)
+ return true
+ }
+ })
}
}
loading.value = false;