tuniaoTech / tuniaoui-rc-vue3-uniapp

图鸟UI vue3 uniapp源码 uniapp 组件库
Other
266 stars 35 forks source link

ActionSheet无法关闭 #102

Open 645638180 opened 7 months ago

645638180 commented 7 months ago

运行环境:微信小程序 图鸟版本:1.0.20 actionSheetRef.value?.show({ title: '设置入群审批', actions: [ { text: 'label1', value: '1' }, { text: 'label2', value: '2', }, ], cancelText: '取消', select: (index, value) => { console.log('index', index, 'value', value) return Promise.reject() } })

报错:groupDetail.js? [sm]:233 Uncaught (in promise) undefine

HighSpecific commented 6 months ago

返回Promise.reject 会阻止关闭弹框

image