|
|
@@ -35,7 +35,7 @@
|
|
|
<div class="text" v-if="info.couponPayment">优惠券藏品</div>
|
|
|
</div>
|
|
|
|
|
|
- <sale-info ref="sale" v-if="canSale" :info="info"></sale-info>
|
|
|
+ <sale-info ref="sale" v-if="canSale" :info="info" :blindBoxItems="blindBoxItems"></sale-info>
|
|
|
|
|
|
<tasks v-if="assignment && info.totalQuota" :info="info" v-model:assignments="assignments"></tasks>
|
|
|
<!-- <div class="title">{{ info.name }}</div> -->
|
|
|
@@ -600,9 +600,11 @@ export default {
|
|
|
if (res) {
|
|
|
this.blindBoxItems = res.content;
|
|
|
}
|
|
|
- if (this.canSale) {
|
|
|
- this.$refs.sale.getData(true);
|
|
|
- }
|
|
|
+ this.$nextTick(() => {
|
|
|
+ if (this.canSale) {
|
|
|
+ this.$refs.sale.getData(true);
|
|
|
+ }
|
|
|
+ });
|
|
|
})
|
|
|
.catch(e => {
|
|
|
this.$toast.clear();
|