dataService.ts
472 Bytes
const useDataServiceStore = defineStore(
// api标签分类guid
'tagGuid',
() => {
const tagGuid = ref<string>("")
function set(guid: any) {
tagGuid.value = guid;
}
const isUpdate = ref(false);
function setIsUpdate(update: boolean) {
isUpdate.value = update;
}
return {
tagGuid,
set,
isUpdate,
setIsUpdate,
}
},
)
export default useDataServiceStore