fix: always make selectedKeys be array #3978 (#3984)

pull/4001/head
zkwolf 4 years ago committed by GitHub
parent 6d33d60d2b
commit ff436c06d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,7 +34,7 @@ const Menu = {
watch(
() => props.selectedKeys,
() => {
selectedKeys.value = props.selectedKeys;
selectedKeys.value = props.selectedKeys || [];
},
);
watch(

Loading…
Cancel
Save