เก็บ tab ใน store
This commit is contained in:
parent
d3d6feb379
commit
c3282f4738
3 changed files with 11 additions and 10 deletions
|
|
@ -20,6 +20,7 @@ const { messageError } = useCounterMixin();
|
|||
|
||||
export const useRegistryNewDataStore = defineStore("registryNew", () => {
|
||||
const route = useRoute();
|
||||
const tab = ref<string>("1");
|
||||
const routerName = ref<any>();
|
||||
const searchTypeOption = computed<DataOption[]>(() => {
|
||||
return [
|
||||
|
|
@ -260,5 +261,6 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
|
|||
createPathUploadFlie,
|
||||
getPathUploadFlie,
|
||||
uploadFile,
|
||||
tab
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue