mirror of
https://github.com/bitinflow/ui.git
synced 2026-05-03 05:38:31 +00:00
Ui fixes and new features
This commit is contained in:
@@ -4,12 +4,16 @@ import {ThirdLevelLink} from "../../types";
|
||||
export const useMenuStore = defineStore('menu', {
|
||||
state: () => {
|
||||
return {
|
||||
thirdLevelLinks: [] as Array<ThirdLevelLink>
|
||||
thirdLevelLinks: [] as Array<ThirdLevelLink>,
|
||||
thirdLevelProps: [] as Object,
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
updateThirdLevelLinks(links: Array<ThirdLevelLink>) {
|
||||
this.thirdLevelLinks = links;
|
||||
},
|
||||
updateThirdLevelProps(props: Object) {
|
||||
this.thirdLevelProps = props;
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user