|
@@ -91,16 +91,16 @@ const getJump = (url: string, name: string) => {
|
|
|
.finally(() => { });
|
|
|
} else if (url == '/game') {
|
|
|
// proxy?.$modal.msgWarning('暂不开放使用,敬请期待!');
|
|
|
- // proxy?.$modal
|
|
|
- // .prompt('请输入密码')
|
|
|
- // .then((e: any) => {
|
|
|
- // if (e.action == 'confirm' && e.value == 'trops') {
|
|
|
- // router.push({ path: url });
|
|
|
- // }
|
|
|
- // })
|
|
|
- // .finally(() => { });
|
|
|
-
|
|
|
- router.push({ path: url });
|
|
|
+ proxy?.$modal
|
|
|
+ .prompt('请输入密码')
|
|
|
+ .then((e: any) => {
|
|
|
+ if (e.action == 'confirm' && e.value == 'trops') {
|
|
|
+ router.push({ path: url });
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .finally(() => { });
|
|
|
+
|
|
|
+ // router.push({ path: url });
|
|
|
// if (import.meta.env.DEV) {
|
|
|
// proxy?.$modal.msgSuccess('测试环境直接进入');
|
|
|
// router.push({ path: url });
|