|
@@ -55,16 +55,20 @@ export default defineComponent({
|
|
|
showIcon={false}
|
|
|
displayDirective="show">
|
|
|
<>
|
|
|
- {type.value == 'attend' ? (
|
|
|
- <AttendClass
|
|
|
- type={params.value.type || ''}
|
|
|
- subjectId={params.value.subjectId || ''}
|
|
|
- detailId={params.value.detailId || ''}
|
|
|
- classGroupId={params.value.classGroupId || ''}
|
|
|
- onClose={() => emit('update:show', false)}
|
|
|
- />
|
|
|
- ) : type.value == 'notation' ? (
|
|
|
- <iframe src={params.value.src}></iframe>
|
|
|
+ {show.value ? (
|
|
|
+ type.value == 'attend' ? (
|
|
|
+ <AttendClass
|
|
|
+ type={params.value.type || ''}
|
|
|
+ subjectId={params.value.subjectId || ''}
|
|
|
+ detailId={params.value.detailId || ''}
|
|
|
+ classGroupId={params.value.classGroupId || ''}
|
|
|
+ onClose={() => emit('update:show', false)}
|
|
|
+ />
|
|
|
+ ) : type.value == 'notation' ? (
|
|
|
+ <iframe src={params.value.src}></iframe>
|
|
|
+ ) : (
|
|
|
+ ''
|
|
|
+ )
|
|
|
) : (
|
|
|
''
|
|
|
)}
|