Fork自 DCloud / uni-starter
const { logout } = require('../../lib/utils/logout') /** * 用户退出登录 * @tutorial https://uniapp.dcloud.net.cn/uniCloud/uni-id-pages.html#logout * @returns */ module.exports = async function () { await logout.call(this) return { errCode: 0 } }