This commit is contained in:
parent
73bdad68c8
commit
5b40984ff3
|
@ -2,7 +2,6 @@
|
|||
import { ref, toRefs, computed, watch, onMounted, useAttrs } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useArrayData } from 'src/composables/useArrayData';
|
||||
import { useAttrs } from 'vue';
|
||||
// import FetchData from 'src/components/FetchData.vue';
|
||||
import { useValidator } from 'src/composables/useValidator';
|
||||
const emit = defineEmits(['update:modelValue', 'update:options', 'remove']);
|
||||
|
@ -106,6 +105,7 @@ const vnSelectRef = ref();
|
|||
const isLoading = ref(false);
|
||||
const dataRef = ref();
|
||||
const lastVal = ref();
|
||||
const useURL = computed(() => $props.url);
|
||||
const noOneText = t('globals.noOne');
|
||||
const noOneOpt = ref({
|
||||
[optionValue.value]: false,
|
||||
|
@ -122,9 +122,6 @@ const selectValue = computed({
|
|||
},
|
||||
});
|
||||
|
||||
const useURL = computed(() => $props.url);
|
||||
|
||||
const $attrs = useAttrs();
|
||||
const arrayDataKey =
|
||||
$props.dataKey ?? ($props.url?.length > 0 ? $props.url : $attrs.name ?? $attrs.label);
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ describe('EntryMy when is supplier', () => {
|
|||
|
||||
it('should open buyLabel when is supplier', () => {
|
||||
cy.get(
|
||||
'[to="/null/2"] > .q-card > .column > .q-btn > .q-btn__content > .q-icon'
|
||||
'.q-table__container>.q-table__grid-content >span:nth-child(4 )> .q-card > .column > .q-btn > .q-btn__content > .q-icon'
|
||||
).click();
|
||||
cy.get('.q-card__actions > .q-btn').click();
|
||||
cy.window().its('open').should('be.called');
|
||||
|
|
Loading…
Reference in New Issue