讲师管理bug

This commit is contained in:
zhangsir
2024-12-09 11:35:59 +08:00
parent 5044213ec2
commit e84fc4b3af
5 changed files with 53 additions and 17 deletions

View File

@@ -30,6 +30,7 @@
:disabled="disabled"
@change="change"
dropdownClassName="treeDropdown"
@keydown.enter="keydownEnter"
>
</a-tree-select>
</template>
@@ -57,7 +58,11 @@ const { data: options, loading: orgLoading } = useArrayRequest(
ORG_LIST,
{ keyword: "" },
);
const keydownEnter = (e) => {
if(e.keyCode == 13){
emit('enter',true)
}
}
watch(props, () => {
stuTreeExpandedKeys.value = [];
if (labelValue.value.value !== props.value) {