Changes Update MenuViewCheck

This commit is contained in:
Thien Pham Van
2026-01-15 17:10:50 +07:00
parent 5d80b20a9d
commit 0a7d66dfbd

View File

@@ -25,8 +25,8 @@
<div class="control is-expanded">
<b>{{ v[$store.lang] }}</b>
</div>
<div class="control" v-if="v.submenu.length === 0 && option === 'limit'">
<span class="ml-6 is-clickable" :class="{ disabled: v.submenu.length === 0 && option === 'limit' }">
<div class="control" v-if="v.submenu.length === 0 && option === 'limit'" :class="{ disabled: !(v.checked) }">
<span class="ml-6 is-clickable" >
<SvgIcon
v-bind="{
name: v.checked ? 'checked.svg' : 'uncheck.svg',
@@ -106,8 +106,6 @@ const props = defineProps({
setting: String,
});
console.log("row =====>", props.row);
const isVietnamese = computed(() => $store.lang.toLowerCase() === "vi");
const options = [
@@ -116,10 +114,6 @@ const options = [
];
const option = ref("limit");
const view = computed(() => {
return options.find((o) => o.code === option.value);
});
const topmenu = ref([]);
let loanRights = [];