收藏
回答

大佬们.萌新遇到求帮帮忙报错提示?

<button appParameter="{{appParameter}}" binderror="__e" bindgetphonenumber="__e" bindgetuserinfo="__e" bindlaunchapp="__e" bindopensetting="__e" bindtap="__e" class="{{['u-button','u-reset-button','data-v-47a50cf2',bemClass]}}" data-event-opts="{{[ [ 'getphonenumber',[ [ 'getphonenumber',['$event'] ] ] ],[ 'getuserinfo',[ [ 'getuserinfo',['$event'] ] ] ],[ 'error',[ [ 'error',['$event'] ] ] ],[ 'opensetting',[ [ 'opensetting',['$event'] ] ] ],[ 'launchapp',[ [ 'launchapp',['$event'] ] ] ],[ 'tap',[ [ 'clickHandler',['$event'] ] ] ] ]}}" data-name="{{dataName}}" formType="{{formType}}" hoverClass="{{!disabled&&!loading?'u-button--active':''}}" hoverStartTime="{{$root.m0}}" hoverStayTime="{{$root.m1}}" hoverStopPropagation="{{hoverStopPropagation}}" lang="{{lang}}" openType="{{openType}}" sendMessageImg="{{sendMessageImg}}" sendMessagePath="sendMessagePath" sendMessageTitle="{{sendMessageTitle}}" sessionFrom="{{sessionFrom}}" showMessageCard="{{showMessageCard}}" style="{{$root.s0}}">

    <block wx:if="{{loading}}">
        <u-loading-icon bind:__l="__l" class="data-v-47a50cf2" color="{{loadingColor}}" mode="{{loadingMode}}" size="{{textSize*1.15}}" vueId="113d4a8d-1"></u-loading-icon>
        <text class="u-button__loading-text data-v-47a50cf2" style="{{'font-size:'+textSize+'px'+';'}}">{{loadingText||text}}</text>
    </block>
    <block wx:else>
        <u-icon bind:__l="__l" class="data-v-47a50cf2" color="{{iconColor}}" customStyle="{{marginRight:'2px'}}" name="{{icon}}" size="{{textSize*1.35}}" vueId="113d4a8d-2" wx:if="{{icon}}"></u-icon>
        <slot wx:if="{{$slots.default}}"></slot>
        <text class="u-button__text data-v-47a50cf2" style="{{'font-size:'+textSize+'px'+';'}}" wx:else>{{text}}</text>
    </block>
</button>


最后一次编辑于  2022-02-28
回答关注问题邀请回答
收藏

1 个回答

  • 汉拿达客服
    汉拿达客服
    2022-10-03

    getUserInfo:function(e){

        var t=this;this.$store.commit("user/showLoginModal",!1);

        var n=this.$user.getUserInfoResolve,o=this.$user.getUserInfoReject;return this.$event.on(this.$const.EVENT_USER_LOGIN,!0).then(function(){t.$jump({open_type:"reload"})}),"getUserInfo:ok"!==e.detail.errMsg?o(e.detail.errMsg):n(e)}


    2022-10-03
    有用
    回复
登录 后发表内容