<button open-type="share" @click="ceshi"> 提高事件优先级?
点击分享过后如何先执行打印1,后执行打印2 <template>
<button class="share" open-type="share" @click="ceshi()">分享</button>
<
</template>
<script>
export default {
onShareAppMessage: function (ops) {
console.log('2')
},
methods:{
ceshi(){
console.log('1')
}
}
};
</script>
<style lang="scss" scoped></style>