src/components/DailogSearchUser/index.vue
@@ -158,9 +158,11 @@ const radio = (event: any) => { dynamicTags.value[0] = event; }; const types=ref() // 开启弹窗 const dialogVisible = ref(false); const openDailog = () => { const openDailog = (type:any) => { types.value=type dialogVisible.value = true; }; //全屏 @@ -174,10 +176,11 @@ }; const submitForm = () => { let obj = JSON.parse(JSON.stringify(dynamicTags.value)); emit('SearchUser', obj[0]); emit('SearchUser', obj[0],types.value); dialogVisible.value = false; }; return { types, filterText, treeRef, filterNode,