家谱APP首页样式设计完成,落地80%
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
const TOKEN_KEY = 'jiapu_token'
|
||||
|
||||
export const session = {
|
||||
getToken: () => uni.getStorageSync(TOKEN_KEY) || '',
|
||||
saveToken: (token) => uni.setStorageSync(TOKEN_KEY, token),
|
||||
clear: () => uni.removeStorageSync(TOKEN_KEY)
|
||||
}
|
||||
Reference in New Issue
Block a user