edit hak akses belum fix

This commit is contained in:
2025-06-04 08:05:02 +07:00
parent 6efdc71d28
commit 31cd36382a
4 changed files with 48 additions and 11 deletions

View File

@@ -12,13 +12,7 @@ watch(() => props.stateValue, (newValue) => {
isActive.value = newValue;
});
const listMenu = ref<any[]>([]);
$fetch(`/api/setting/getListMenu`)
.then((response) => {
console.log(response);
listMenu.value = response;
})
</script>
@@ -46,7 +40,7 @@ $fetch(`/api/setting/getListMenu`)
</slot>
<v-card-actions>
<v-btn text @click="$emit('stateValue', false)">Disagree</v-btn>
<!-- <v-btn text @click="$emit('stateValue', false)">Disagree</v-btn>-->
</v-card-actions>
</v-card>
</template>