修复新增选项问题
This commit is contained in:
@@ -212,6 +212,7 @@
|
||||
<label for="baseGiftId" class="col-sm-3 control-label">需要的基础解锁礼物</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="baseGiftId" id="baseGiftId" data-btn-class="btn-warning" class="form-control" v-model="gift.baseGiftId">
|
||||
<option v-for="(baseGift, index) in unlockList" :key="baseGift" :data-index="index" :value="baseGift.value">{{ baseGift.text }}</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
@@ -691,6 +692,7 @@ export default {
|
||||
name: "GiftManageView",
|
||||
data() {
|
||||
return {
|
||||
unlockList: [],
|
||||
giftLevel: [],
|
||||
gift: {
|
||||
giftId: null,
|
||||
@@ -744,6 +746,7 @@ export default {
|
||||
},
|
||||
created() {
|
||||
this.$nextTick(function () {
|
||||
this.giftUnlockList();
|
||||
this.levelList();
|
||||
this.initData();
|
||||
});
|
||||
@@ -864,7 +867,7 @@ export default {
|
||||
value: e.giftId,
|
||||
};
|
||||
});
|
||||
ComboboxHelper.build(lockGifts, '#baseGiftId', this.gift.baseGiftId);
|
||||
this.unlockList = lockGifts;
|
||||
});
|
||||
},
|
||||
levelList() {
|
||||
|
Reference in New Issue
Block a user