first commit

This commit is contained in:
2025-12-24 18:19:05 +08:00
commit 78407f1cbd
283 changed files with 170690 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import { defineStore } from 'pinia'
const useToolBarStore = defineStore(
'toolbar',
{
state: () => ({
expand: false, //地图图例位置
trawler: {
visible: false // 渔船动态详情收缩框显示
}
}),
actions: {
toogleExpand(expand) {
this.expand = expand
},
toggleTrawlerVisible(visible) {
this.trawler.visible = visible
}
}
})
export default useToolBarStore