收藏
回答

使用扩展库引入weui的navigation-bar组件,页面报错?

使用useExtendedLib引入weui,页面中含有button的getUserInfo事件,点击button报错,之前一直是正确的,是今天突然报错的,不知道为啥

<navigation-bar back="{{false}}"></navigation-bar>
<view class="first">
    <view class="entry-wrap">
        <view class="img-box-top">
            <image src="{{appletLogo || ''}}"></image>
        </view>
        <view
         class="btn-wrap"
         hover-class="none"
         hover-stop-propagation="false"
        >
            <button
             class="enterDoctor"
             data-type="doctor"
             open-type="getUserInfo"
             bindgetuserinfo="getuserinfo"
            >
                入口
            </button>
            <button
             class="enterDeputy"
             type="default"
             plain="true"
             data-type="deputy"
             hover-class="none"
             open-type="getUserInfo"
             bindgetuserinfo="getuserinfo"
            >
                入口
                <text class="iconfont icon-youjiantou"></text>
            </button>
        </view>
    </view>
</view>

回答关注问题邀请回答
收藏

2 个回答

登录 后发表内容
问题标签