添加步骤条

This commit is contained in:
wzy-warehouse
2026-05-06 19:22:10 +08:00
parent ab13567d1d
commit a125872cf5
7 changed files with 67 additions and 4 deletions
+4
View File
@@ -40,6 +40,10 @@ export const useStatusStore = defineStore('status', () => {
show: true,
loading: true,
},
stepBar: {
show: false,
loading: true,
},
});
// ============================ 地图图层显示状态 ================================
+19
View File
@@ -0,0 +1,19 @@
import { defineStore } from 'pinia';
import { type Ref, ref } from 'vue';
/**
* 步骤条store
*/
export const useStepStore = defineStore('step', () => {
/**
* 步骤条列表
*/
const stepList: Ref<string[]> = ref([]);
/**
* 当前步骤
*/
const currentStep: Ref<number> = ref(0);
return { stepList, currentStep };
});