fixing bug permission
This commit is contained in:
parent
895843d60d
commit
6e80ab41de
1 changed files with 2 additions and 2 deletions
|
|
@ -66,7 +66,7 @@ function getData() {
|
|||
});
|
||||
}
|
||||
onMounted(() => {
|
||||
if (checkPermission(route)?.attrIsGet) getData();
|
||||
if (checkPermission(route)?.attrIsList) getData();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
@ -156,7 +156,7 @@ onMounted(() => {
|
|||
<q-card-actions align="right">
|
||||
<q-btn
|
||||
v-if="
|
||||
checkPermission($route)?.attrIsGet &&
|
||||
checkPermission($route)?.attrIsList &&
|
||||
checkPermission($route)?.attrIsUpdate
|
||||
"
|
||||
label="บันทึก"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue