mirror of
https://github.com/bitinflow/ui.git
synced 2026-03-13 13:45:59 +00:00
chore(release): v0.0.3
This commit is contained in:
7
dist/runtime/stores/menu.d.ts
vendored
7
dist/runtime/stores/menu.d.ts
vendored
@@ -1,5 +1,6 @@
|
||||
export const useMenuStore: import("pinia").StoreDefinition<"menu", {
|
||||
thirdLevelLinks: never[];
|
||||
import { ThirdLevelLink } from "../../types";
|
||||
export declare const useMenuStore: import("pinia").StoreDefinition<"menu", {
|
||||
thirdLevelLinks: ThirdLevelLink[];
|
||||
}, {}, {
|
||||
updateThirdLevelLinks(links: any): void;
|
||||
updateThirdLevelLinks(links: Array<ThirdLevelLink>): void;
|
||||
}>;
|
||||
|
||||
27
dist/runtime/stores/menu.mjs
vendored
27
dist/runtime/stores/menu.mjs
vendored
@@ -1,14 +1,13 @@
|
||||
import {defineStore} from 'pinia';
|
||||
|
||||
export const useMenuStore = defineStore('menu', {
|
||||
state: () => {
|
||||
return {
|
||||
thirdLevelLinks: []
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
updateThirdLevelLinks(links) {
|
||||
this.thirdLevelLinks = links;
|
||||
},
|
||||
},
|
||||
})
|
||||
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