mirror of
https://github.com/bitinflow/ui-old.git
synced 2026-11-01 05:09:02 +00:00
Fix state
This commit is contained in:
1 parent
11570c9832
commit
ed44357418
5 files changed
+23
-8
No files matched your search
@@ -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