v-if解决一个bug

2022-11-09  本文已影响0人  糖醋里脊120625
  <van-popup 
      overlay='false'
      v-if="kindShow"
      v-model:show="kindShow" position="bottom" 
      :style="{ height: '400px' }" 
      >
      <div class="btn">
        <div @click="cancelProdFun" class="cancle">取消</div>
        <div @click="confirmProdFun" class="confirm">确定</div>
      </div>

      <van-tree-select
        height="320"
        v-model:active-id="activeIds"
        v-model:main-active-index="activeIndex"
        :items="categoryGoods"
      />
    </van-popup>

上一篇 下一篇

猜你喜欢

热点阅读