7658-devToTest_2428 #508

Merged
alexm merged 392 commits from 7658-devToTest_2428 into test 2024-07-02 10:38:20 +00:00
3 changed files with 5 additions and 8 deletions
Showing only changes of commit f86bc9791b - Show all commits

View File

@ -1,5 +1,5 @@
<script setup>
import { ref, onMounted, computed, watch, useAttrs } from 'vue';
import { ref, onMounted, computed, watch } from 'vue';
import { useI18n } from 'vue-i18n';
import { useRoute, useRouter } from 'vue-router';
import { useQuasar } from 'quasar';
@ -60,7 +60,6 @@ const $props = defineProps({
default: false,
},
});
const attrs = useAttrs();
const { t } = useI18n();
const stateStore = useStateStore();
const route = useRoute();

View File

@ -4,7 +4,7 @@
v-if="toComponent?.component"
:is="mix(toComponent).component"
v-bind="mix(toComponent).attrs"
v-on="mix(toComponent).event"
v-on="mix(toComponent).event ?? {}"
v-model="model"
/>
</span>
@ -21,12 +21,10 @@ const $props = defineProps({
components: {
type: Object,
default: () => {},
required: false,
},
value: {
type: Object,
type: [Object, Number, String],
default: () => {},
required: false,
},
});

View File

@ -1,5 +1,5 @@
<script setup>
import { ref, computed } from 'vue';
import { ref, computed, markRaw } from 'vue';
import { useI18n } from 'vue-i18n';
import { useRouter } from 'vue-router';
import VnTable from 'components/VnTable/VnTable.vue';
@ -95,7 +95,7 @@ const columns = computed(() => [
name: 'phone',
cardVisible: true,
after: {
component: VnLinkPhone,
component: markRaw(VnLinkPhone),
props: (prop) => ({
'phone-number': prop.phone,
}),