fix
This commit is contained in:
@@ -16,10 +16,18 @@ export const useProjectStore = defineStore('project', () => {
|
||||
state.value.id = id
|
||||
}
|
||||
|
||||
const clearProject = ()=>{
|
||||
state.value = {
|
||||
id: '',
|
||||
nodeId: '',
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
state,
|
||||
setProject,
|
||||
setId
|
||||
setId,
|
||||
clearProject
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user