<view class="attr-details" v-show="goods.attr.length&&isprove">
<view class="detai_title">已选</view>
<view v-for="(items,rela_key) in goods.attrrelationitem" :key="rela_key">
<view class="detai_yet" v-show="items.num > 0||items.num===''">{{items.attr_value_name}},{{items.num}}件
<view class="flex-row number-input-box detai_input" style="height: 65upx;">
<view @click="redSub(items,rela_key)" class="flex-grow-0 flex-x-center flex-y-center number-btn number-sub"
:class="{'disabled':items.num === 0}">-</view>
<view class="flex-grow-0">
<input class="flex-grow-1 number-input" min="1" step="1" type="number" :value="items.num"
@focus="isattrkey(rela_key)" @blur="loseattrkey(rela_key)"></input>
</view>
<view @click="addSub(items,rela_key)" class="flex-grow-0 flex-x-center flex-y-center number-btn number-add">+</view>
</view>
</view>
</view>
</view>
试过用v-if来控制重新渲染,App端依旧没有效果,也试过了this.$forcepdate,一样没有用