添加属性 :selectable=“false”
<a-directory-tree
checkable
@expand="onExpand"
@check="onCheckbox"
:selectable="false"
:treeData="treeData"
v-model="checkedKeys"
:expandedKeys="expandedKeys"
:autoExpandParent="autoExpandParent"
></a-directory-tree>