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