uni-app使用van-dialog报warning: slot "" is not found,请问该如何修改?

uni-app使用van-dialog报warning: slot "" is not found,请问该如何修改?

    <van-dialog

use-title-slot

use-slot

title="请输入支付密码"

:show="showDialog"

:showConfirmButton="false"

>

<view slot="title" style="margin-bottom: 15px;">

<view style="position:relative">

请输入支付密码

<van-icon name="cross" size="18px" custom-style="position:absolute;right:5%;top:5%" @click="close"/>

</view>

</view>

<view class="dialogContent" style="text-align: center;position: relative;min-height: 180px;">

<view style="font-size:16px;margin-bottom: 5px;">三湘银行</view>

<view style="font-size:25px;font-weight:580">¥{{depositMoney}}</view>

<van-viewider/>

<view style="display:flex;margin:10px">

<view style="font-size:14px;color:#999999">银行卡号</view>

<view style="position:absolute;right:3%">{{bankNumber}}</view>

</view>

<view class="password">

<verification-code-style :latticeNum="6" @getInputVerification="getInputVerification"></verification-code-style>

</view>

</view>

</van-dialog>

使用该van-dialog发现出现很多slot "" is not found的警告,请问该如何修改呢?请赐教,不胜感激。

以上是 uni-app使用van-dialog报warning: slot &quot;&quot; is not found,请问该如何修改? 的全部内容, 来源链接: utcz.com/p/937203.html

回到顶部