fix: incorrect radio button display
This commit is contained in:
parent
3057012710
commit
7cf842ed4c
|
@ -45,7 +45,7 @@ const onUpdate = (val) => {
|
|||
<template>
|
||||
<n-form-item :label="$t('dialogue.field.conflict_handle')">
|
||||
<n-radio-group :value="props.type" @update:value="(val) => emit('update:type', val)">
|
||||
<n-radio-button v-for="(op, i) in updateOption" :key="i" :label="op.label" :value="$t(op.value)" />
|
||||
<n-radio-button v-for="(op, i) in updateOption" :key="i" :label="$t(op.label)" :value="op.value" />
|
||||
</n-radio-group>
|
||||
</n-form-item>
|
||||
<n-form-item
|
||||
|
|
|
@ -32,7 +32,7 @@ const onUpdate = (val) => {
|
|||
<template>
|
||||
<n-form-item :label="$t('interface.type')">
|
||||
<n-radio-group :value="props.type" @update:value="(val) => emit('update:type', val)">
|
||||
<n-radio-button v-for="(op, i) in insertOption" :key="i" :label="op.label" :value="$t(op.value)" />
|
||||
<n-radio-button v-for="(op, i) in insertOption" :key="i" :label="$t(op.label)" :value="op.value" />
|
||||
</n-radio-group>
|
||||
</n-form-item>
|
||||
<n-form-item :label="$t('dialogue.field.element')" required>
|
||||
|
|
|
@ -48,7 +48,7 @@ const onUpdate = () => {
|
|||
<template>
|
||||
<n-form-item :label="$t('interface.type')">
|
||||
<n-radio-group :value="props.type" @update:value="(val) => emit('update:type', val)">
|
||||
<n-radio-button v-for="(op, i) in updateOption" :key="i" :label="op.label" :value="$t(op.value)" />
|
||||
<n-radio-button v-for="(op, i) in updateOption" :key="i" :label="$t(op.label)" :value="op.value" />
|
||||
</n-radio-group>
|
||||
</n-form-item>
|
||||
<n-form-item
|
||||
|
|
Loading…
Reference in New Issue