refactor: add function resetScrollBar
This commit is contained in:
parent
18059db8a0
commit
47d775ca58
4 changed files with 27 additions and 10 deletions
|
|
@ -6,7 +6,7 @@ import { BranchContact } from 'stores/branch-contact/types';
|
|||
import { colors, useQuasar } from 'quasar';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import type { QTableProps } from 'quasar';
|
||||
|
||||
import { resetScrollBar } from 'src/stores/utils';
|
||||
import useBranchStore from 'stores/branch';
|
||||
import useFlowStore from 'stores/flow';
|
||||
import {
|
||||
|
|
@ -1649,7 +1649,12 @@ watch(currentHq, () => {
|
|||
:submit="() => onSubmit()"
|
||||
:delete-data="() => triggerDelete(currentEdit.id)"
|
||||
:close="
|
||||
() => ((modalDrawer = false), flowStore.rotate(), (isImageEdit = false))
|
||||
() => (
|
||||
(modalDrawer = false),
|
||||
flowStore.rotate(),
|
||||
(isImageEdit = false),
|
||||
resetScrollBar('branch-info')
|
||||
)
|
||||
"
|
||||
:statusBranch="formData.status"
|
||||
hide-action
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue