添加步骤条
This commit is contained in:
@@ -40,6 +40,10 @@ export const useStatusStore = defineStore('status', () => {
|
||||
show: true,
|
||||
loading: true,
|
||||
},
|
||||
stepBar: {
|
||||
show: false,
|
||||
loading: true,
|
||||
},
|
||||
});
|
||||
|
||||
// ============================ 地图图层显示状态 ================================
|
||||
|
||||
@@ -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 };
|
||||
});
|
||||
Reference in New Issue
Block a user