问题如下:

 修改方法如下

 <a-tree-select
              :getPopupContainer="
                triggerNode => {
                  return triggerNode.parentNode || document.body;
                }"
              style="width: 100%"
              :dropdownStyle="{ maxHeight: '400px', overflow: 'auto' }"
              :treeData="treeData"
              placeholder="请选择行使主体!"
              treeDefaultExpandAll
              v-decorator="['deptCode',{ rules: [{ required: true, message: '请选择行使主体!' }] },]"
            >

 

Logo

前往低代码交流专区

更多推荐