mirror of
https://github.com/bitinflow/ui.git
synced 2026-03-13 13:45:59 +00:00
add dist
This commit is contained in:
5
dist/runtime/stores/menu.d.ts
vendored
Normal file
5
dist/runtime/stores/menu.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
export const useMenuStore: import("pinia").StoreDefinition<"menu", {
|
||||
thirdLevelLinks: never[];
|
||||
}, {}, {
|
||||
updateThirdLevelLinks(links: any): void;
|
||||
}>;
|
||||
14
dist/runtime/stores/menu.mjs
vendored
Normal file
14
dist/runtime/stores/menu.mjs
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import {defineStore} from 'pinia';
|
||||
|
||||
export const useMenuStore = defineStore('menu', {
|
||||
state: () => {
|
||||
return {
|
||||
thirdLevelLinks: []
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
updateThirdLevelLinks(links) {
|
||||
this.thirdLevelLinks = links;
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user