fix: indexof openkeys error (#3334)

pull/3341/head
zkwolf 2020-12-09 16:01:50 +08:00 committed by GitHub
parent 520d6a5e85
commit 9553cfb489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ const Menu = {
watch(
() => props.openKeys,
() => {
openKeys.value = props.openKeys;
openKeys.value = props.openKeys || [];
},
);
const activeKey = reactive({