Lint
This commit is contained in:
parent
bf1388dbd9
commit
158cd2d352
|
@ -53,7 +53,7 @@
|
|||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="js" setup>
|
||||
<script setup>
|
||||
import {ref, inject, computed} from 'vue';
|
||||
const axios = inject('axios');
|
||||
const emit = defineEmits(['update:modelValue']);
|
||||
|
@ -70,7 +70,7 @@ const props = defineProps({
|
|||
id: {
|
||||
required: true,
|
||||
type: String,
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
const comparatorOptions = ref([
|
||||
|
@ -144,14 +144,17 @@ const fieldOptions = computed(() =>
|
|||
);
|
||||
|
||||
function addCondition() {
|
||||
emit('update:modelValue', {...props.modelValue, ifs: [
|
||||
emit('update:modelValue', {
|
||||
...props.modelValue,
|
||||
ifs: [
|
||||
...props.modelValue.ifs,
|
||||
{
|
||||
field: null,
|
||||
comparator: null,
|
||||
value: null,
|
||||
}
|
||||
]});
|
||||
},
|
||||
],
|
||||
});
|
||||
}
|
||||
|
||||
const locked = ref(false);
|
||||
|
|
Loading…
Reference in New Issue