diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index fb5e426dd..6bfa97e55 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -59,8 +59,8 @@ const $props = defineProps({ default: true, }, bottom: { - type: Object, - default: null, + type: Boolean, + default: false, }, cardClass: { type: String, @@ -477,29 +477,6 @@ function handleSelection({ evt, added, rows: selectedRows }, rows) { /> - +
+ + + {{ createForm.title }} + +
diff --git a/src/components/common/VnSelect.vue b/src/components/common/VnSelect.vue index 8aa725b4a..58b7667d2 100644 --- a/src/components/common/VnSelect.vue +++ b/src/components/common/VnSelect.vue @@ -166,7 +166,11 @@ onMounted(() => { const arrayDataKey = $props.dataKey ?? ($props.url?.length > 0 ? $props.url : $attrs.name ?? $attrs.label); -const arrayData = useArrayData(arrayDataKey, { url: $props.url, searchUrl: false }); +const arrayData = useArrayData(arrayDataKey, { + url: $props.url, + searchUrl: false, + mapKey: $attrs['map-key'], +}); function findKeyInOptions() { if (!$props.options) return; diff --git a/src/components/ui/VnSms.vue b/src/components/ui/VnSms.vue index bf6e0695e..8b25ba5da 100644 --- a/src/components/ui/VnSms.vue +++ b/src/components/ui/VnSms.vue @@ -54,6 +54,7 @@ function formatNumber(number) { :offset="100" :limit="5" auto-load + map-key="smsFk" >