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