<button open-type="chooseAvatar" @chooseavatar="chooseAvatar" class="choose-avatar-btn" >
<image :src="userStore.userInfo.avatar"></image>
</button>
let chooseAvatar = function(){
console.log("123")
}

<button open-type="chooseAvatar" @chooseavatar="chooseAvatar" class="choose-avatar-btn" >
<image :src="userStore.userInfo.avatar"></image>
</button>
let chooseAvatar = function(){
console.log("123")
}