แก้ล้างข้อมูล

This commit is contained in:
setthawutttty 2024-11-11 17:09:45 +07:00
parent ebee37a888
commit 96d6e470f8
2 changed files with 1 additions and 7 deletions

View file

@ -203,6 +203,7 @@ watch(
watch(
() => store.typeOrganizational,
() => {
nodeTree.value = [];
const id =
store.typeOrganizational === "current" ? store.activeId : store.draftId;
id && store.typeOrganizational !== "old" && fetchDataTree(id);

View file

@ -126,11 +126,6 @@ function onClickHistory(id: string, name: string) {
count.value++;
}
function oldCloseSelect(){
if(!store.historyId){
store.typeOrganizational = 'current'
}
}
async function workflowSystem() {
showLoader();
http
@ -285,8 +280,6 @@ onMounted(async () => {
:label="labelHistory"
@click="store.typeOrganizational = 'old'"
:outline="store.typeOrganizational === 'old' ? false : true"
@hide="oldCloseSelect()"
>
<q-list>
<q-item