mirror of
https://github.com/bitinflow/ui.git
synced 2026-11-01 13:19:19 +00:00
chore(release): v0.0.3
This commit is contained in:
1 parent
6f32d46437
commit
ea9f83cb7e
14 files changed
+58
-44
No files matched your search
Vendored
+4
-3
@@ -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;
|
||||
}>;
|
||||
Vendored
+13
-14
@@ -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