token.js 209 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 export const setToken = (data) => { uni.setStorageSync('token', data); }; export const getToken = () => uni.getStorageSync('token'); export const removeToken = () => { uni.removeStorageSync('token'); };