const getters = { token: state => state.user.token, avatar: state => state.user.avatar || 'https://matchexpo.obs.cn-north-1.myhuaweicloud.com/common/2022/0225/62189585b166b.png', user: state => state.user.user, baseApi: state => process.env.BASE_API, loading: state => state.app.loading, ossDomain: state => state.app.ossDomain, locale: state => state.app.locale, version: state => process.env.VERSION ?? '0.01', website_url: state => 'https://mp-test-onlinecatelogue.matchexpo.cn' } export default getters