[update] 比对按钮修改
This commit is contained in:
@@ -18,9 +18,8 @@
|
|||||||
<a-input v-model="specialtyList[index].cellTitle"
|
<a-input v-model="specialtyList[index].cellTitle"
|
||||||
:maxLength="50"
|
:maxLength="50"
|
||||||
@change="e => {e.target.value = (e.target.value + '').trim()}" />
|
@change="e => {e.target.value = (e.target.value + '').trim()}" />
|
||||||
<a-button @click="addSpecialty(index)">{{ $t('newlyAdded') }}</a-button>
|
<a-button @click="addSpecialty(index)" icon='plus'></a-button>
|
||||||
<a-button @click="deleteSpecialty(index)" :disabled="specialtyList.length === 1 && index === 0">
|
<a-button @click="deleteSpecialty(index)" icon='minus' :disabled="specialtyList.length === 1 && index === 0">
|
||||||
{{ $t('delete') }}
|
|
||||||
</a-button>
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -31,9 +30,8 @@
|
|||||||
<a-input v-model="comparisonItemList[index].cellTitle"
|
<a-input v-model="comparisonItemList[index].cellTitle"
|
||||||
:maxLength="50"
|
:maxLength="50"
|
||||||
@change="e => {e.target.value = (e.target.value + '').trim()}" />
|
@change="e => {e.target.value = (e.target.value + '').trim()}" />
|
||||||
<a-button @click="addComparisonItem(index)">{{ $t('newlyAdded') }}</a-button>
|
<a-button @click="addComparisonItem(index)" icon='plus'></a-button>
|
||||||
<a-button @click="deleteComparisonItem(index)" :disabled="comparisonItemList.length === 1 && index === 0">
|
<a-button @click="deleteComparisonItem(index)" icon='minus' :disabled="comparisonItemList.length === 1 && index === 0">
|
||||||
{{ $t('delete') }}
|
|
||||||
</a-button>
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
</a-form-model-item>
|
</a-form-model-item>
|
||||||
@@ -208,4 +206,4 @@ export default {
|
|||||||
.ant-form-item-children > .form-wrapper:last-child {
|
.ant-form-item-children > .form-wrapper:last-child {
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -31,10 +31,9 @@
|
|||||||
<a-input type="textarea" :maxLength="500" v-model="unscramble.itemContent" />
|
<a-input type="textarea" :maxLength="500" v-model="unscramble.itemContent" />
|
||||||
</div>
|
</div>
|
||||||
<div class="unscramble-item-operate">
|
<div class="unscramble-item-operate">
|
||||||
<a-button @click="handleAddUnscramble(unscrambleIndex)">{{ $t('newlyAdded') }}</a-button>
|
<a-button @click="handleAddUnscramble(unscrambleIndex)" icon='plus'></a-button>
|
||||||
<a-button @click="handleDeleteUnscramble(unscrambleIndex, unscramble)"
|
<a-button @click="handleDeleteUnscramble(unscrambleIndex, unscramble)" icon='minus'
|
||||||
:disabled="interpretationArticlesList.length === 1 && unscrambleIndex === interpretationArticlesList.length - 1">
|
:disabled="interpretationArticlesList.length === 1 && unscrambleIndex === interpretationArticlesList.length - 1">
|
||||||
{{ $t('delete') }}
|
|
||||||
</a-button>
|
</a-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user