处理未登录情况
This commit is contained in:
@@ -42,6 +42,13 @@ export function goPath(path: string) {
|
||||
});
|
||||
}
|
||||
|
||||
export function goLogin() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/common/login/index'
|
||||
}).then(r => {
|
||||
});
|
||||
}
|
||||
|
||||
export function formatTimeWithZeroPad(num: number): string {
|
||||
return num < 10 ? '0' + num : num + '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user