Commit 7ea2e9e9 by xinla

修复 智能表单 填写页面中级联选择的宽度超出滚动问题

1 parent 6f340552
<template> <template>
<div <div :style="Ifcontainer ? 'height: 100%;' : 'background:#666;display: flex;justify-content: center;height: 100%;'">
:style="
Ifcontainer
? 'height: 100%;'
: 'background:#666;display: flex;justify-content: center;height: 100%;padding: 30px;'
">
<div <div
:class="Ifcontainer ? 'container' : 'container containerPC'" :class="Ifcontainer ? 'container' : 'container containerPC'"
data-title="调查问卷" data-title="调查问卷"
...@@ -907,7 +902,7 @@ export default { ...@@ -907,7 +902,7 @@ export default {
background: var(--bg-white); background: var(--bg-white);
} }
.containerPC { .containerPC {
max-width: 350px; max-width: 370px;
} }
.formDetailPush { .formDetailPush {
...@@ -940,3 +935,10 @@ export default { ...@@ -940,3 +935,10 @@ export default {
padding: 0 0 5px 0 !important; padding: 0 0 5px 0 !important;
} }
</style> </style>
<style>
/* 级联选择,宽度超出滚动 */
.el-cascader__dropdown {
max-width: 100vw;
overflow: auto;
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!