How to use slot in vue's vant component library on demand

problem description

take the sku component as an example, some messages are not needed for the project. Need to be removed, the official definition of this part of the slot name value is sku-messages. How to hide this part gracefully? I think it can be done only on the < van-sku/ > tag of the parent element without changing the source code inside the component. Here is the label.

related codes

< template >

<div class="sku-container">
  <van-sku
    v-model="showStepper"
    :sku="skuData.sku"
    :goods="skuData.goods_info"
    :goods-id="skuData.goods_id"
    :hide-stock="skuData.sku.hide_stock"
    :quota="skuData.quota"
    :quota-used="skuData.quota_used"
    :custom-stepper-config="customStepperConfig"
    :message-config="messageConfig"
    @buy-clicked="onBuyClicked"
    @add-cart="onAddCartClicked"
  />
  <van-button type="primary" @click="showStepper = true" block>123</van-button>
</div>

< / template >


resolved. Just add an empty slot

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b30b3e-34100.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b30b3e-34100.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?