เมื่อไม่ได้เลือก tab old เเล้วกดออกเด้งกลับ tab แรก

This commit is contained in:
setthawutttty 2024-11-11 16:32:46 +07:00
parent 262dd67b42
commit 3c100e1618

View file

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