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