ci: vue/use

This commit is contained in:
就眠儀式
2022-02-24 11:09:45 +08:00
parent ed312c40b1
commit 9726687879
5 changed files with 13 additions and 23 deletions

View File

@@ -13,11 +13,8 @@ export interface LayMenuItemProps {
}
const slots = useSlots();
const props = defineProps<LayMenuItemProps>();
const selectedKey: Ref<string> = inject("selectedKey") as Ref<string>;
const selectHandle = function () {
selectedKey.value = props.id;
};