--fix bug

This commit is contained in:
yuping
2023-01-15 19:44:48 +08:00
parent 033615ea93
commit bd18c589be

View File

@@ -40,11 +40,7 @@
</div> </div>
<div class="select"> <div class="select">
<a-tree-select <a-tree-select
:getPopupContainer=" :getPopupContainer="triggerNode => triggerNode.parentNode || document.body"
(triggerNode) => {
return triggerNode.parentNode || document.body;
}
"
v-model:value="categoryId" v-model:value="categoryId"
show-search show-search
style="width: 200px" style="width: 200px"
@@ -54,7 +50,7 @@
tree-default-expand-all tree-default-expand-all
:fieldNames="{ :fieldNames="{
children: 'children', children: 'children',
title: 'dictName', label: 'dictName',
value: 'dictCode', value: 'dictCode',
}" }"
:tree-data="sysTypeOptions" :tree-data="sysTypeOptions"