export default { props: { visible: { type: Boolean, default: false } }, emits: ['update:visible', 'allow'], setup(props, { emit }) { const closePopup = () => { emit('update:visible', false); }; const allowLogin = () => { emit('allow'); }; return { closePopup, allowLogin }; } }