แก้ล้างข้อมูล
This commit is contained in:
parent
ebee37a888
commit
96d6e470f8
2 changed files with 1 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue