refactor(change-round): add permission check using attrIsUpdate for change round button
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
parent
9e550fc5bf
commit
598492b61e
2 changed files with 3 additions and 2 deletions
|
|
@ -4,8 +4,8 @@ interface DataPost {
|
|||
lastName: string;
|
||||
page: number;
|
||||
pageSize: number;
|
||||
selectedNodeId: string | null;
|
||||
selectedNode: string;
|
||||
selectedNodeId?: string | null;
|
||||
selectedNode?: string;
|
||||
}
|
||||
|
||||
interface DataOption {
|
||||
|
|
|
|||
|
|
@ -410,6 +410,7 @@ onMounted(() => {
|
|||
@click="selectAllRows()"
|
||||
/> -->
|
||||
<q-btn
|
||||
v-if="checkPermission($route)?.attrIsUpdate"
|
||||
:disable="selected.length === 0 || isLoadingAll"
|
||||
:color="selected.length === 0 ? 'grey' : 'info'"
|
||||
dense
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue