|
@@ -11,13 +11,14 @@
|
|
|
<el-dialog
|
|
|
:visible.sync="showDialog"
|
|
|
title="绑定知识点"
|
|
|
- top="10vh"
|
|
|
+ top="5vh"
|
|
|
width="640px"
|
|
|
:close-on-click-modal="false"
|
|
|
:close-on-press-escape="false"
|
|
|
append-to-body
|
|
|
destroy-on-close
|
|
|
@open="whenOpen"
|
|
|
+ custom-class="knowledge-dialog"
|
|
|
>
|
|
|
<el-tree
|
|
|
ref="tree"
|
|
@@ -197,4 +198,10 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+:deep(.knowledge-dialog) {
|
|
|
+ .el-dialog__body {
|
|
|
+ max-height: calc(95vh - 125px);
|
|
|
+ overflow: auto;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|