Browse Source

!126 修复按钮失效的bug

Merge pull request !126 from blue/v_3.0.0
master
blue 1 year ago
committed by Gitee
parent
commit
1feccafea1
No known key found for this signature in database GPG Key ID: 173E9B9CA92EEF8F
  1. 6
      im-uniapp/pages/common/user-info.vue

6
im-uniapp/pages/common/user-info.vue

@ -36,10 +36,10 @@
</view> </view>
</uni-card> </uni-card>
<bar-group> <bar-group>
<btn-bar v-show="isFriend" type="primary" title="发送消息" @click="onSendMessage()"> <btn-bar v-show="isFriend" type="primary" title="发送消息" @tap="onSendMessage()">
</btn-bar> </btn-bar>
<btn-bar v-show="!isFriend" type="primary" title="加为好友" @click="onAddFriend()"></btn-bar> <btn-bar v-show="!isFriend" type="primary" title="加为好友" @tap="onAddFriend()"></btn-bar>
<btn-bar v-show="isFriend" type="danger" title="删除好友" @click="onDelFriend()"></btn-bar> <btn-bar v-show="isFriend" type="danger" title="删除好友" @tap="onDelFriend()"></btn-bar>
</bar-group> </bar-group>
</view> </view>
</template> </template>

Loading…
Cancel
Save