细节优化
This commit is contained in:
@@ -40,9 +40,9 @@ const toPage = (path) => {
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
if (!calibration.value) {
|
||||
return uni.$showHint(4);
|
||||
}
|
||||
// if (!calibration.value) {
|
||||
// return uni.$showHint(4);
|
||||
// }
|
||||
if ("/pages/first-try".indexOf(path) === -1 && !user.value.trio) {
|
||||
return uni.showToast({
|
||||
title: "请先完成新手试炼",
|
||||
|
||||
@@ -48,9 +48,9 @@ const toMatchPage = async (gameType, teamSize) => {
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
if (!calibration.value) {
|
||||
return uni.$showHint(4);
|
||||
}
|
||||
// if (!calibration.value) {
|
||||
// return uni.$showHint(4);
|
||||
// }
|
||||
if (!user.value.trio) {
|
||||
return uni.showToast({
|
||||
title: "请先完成新手试炼",
|
||||
|
||||
Reference in New Issue
Block a user