Files
smartDriveEEUniApp/common/uni-id-pages-init.js
2026-01-31 21:10:40 +08:00

23 lines
733 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 简化版的 uni-id-pages 初始化
// 由于项目不使用 uniCloud移除了所有 uniCloud 相关功能
export default async function () {
// #ifdef APP-PLUS
// 如果配置的登录功能有一键登录,执行预登录(异步)
// 注意:这里需要从配置中读取,但由于配置在子包中,暂时注释
// 如果需要一键登录功能,可以在这里添加配置
// if (loginTypes.includes('univerify')) {
// uni.preLogin({
// provider: 'univerify',
// complete: e => {
// // console.log(e);
// }
// })
// }
// #endif
// 其他初始化逻辑已移除(因为不需要 uniCloud
console.log('[uni-id-pages] 初始化完成(简化版,无 uniCloud')
}