mirror of
https://github.com/bitinflow/ui.git
synced 2026-03-14 22:25:58 +00:00
add dist
This commit is contained in:
1
dist/runtime/composables/index.d.ts
vendored
Normal file
1
dist/runtime/composables/index.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export function useMenu(data: any): void;
|
||||
8
dist/runtime/composables/index.mjs
vendored
Normal file
8
dist/runtime/composables/index.mjs
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import {useMenuStore} from "../stores/menu.js";
|
||||
|
||||
export const useMenu = (data) => {
|
||||
const menu = useMenuStore()
|
||||
if (data.thirdLevelLinks) {
|
||||
menu.updateThirdLevelLinks(data.thirdLevelLinks)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user