|
@@ -51,7 +51,7 @@ const getJump = (url: string, name: string) => {
|
|
|
return false;
|
|
|
}
|
|
|
if (url == '/set') {
|
|
|
- if (import.meta.env.APP_ENV != 'pro') {
|
|
|
+ if (import.meta.env.DEV) {
|
|
|
proxy?.$modal.msgSuccess('测试环境免密进入');
|
|
|
router.push({ path: url });
|
|
|
} else {
|
|
@@ -77,7 +77,7 @@ const getJump = (url: string, name: string) => {
|
|
|
.finally(() => { });
|
|
|
}
|
|
|
} else if (url == '/test') {
|
|
|
- if (import.meta.env.APP_ENV != 'pro') {
|
|
|
+ if (import.meta.env.DEV) {
|
|
|
proxy?.$modal.msgSuccess('测试环境免密进入');
|
|
|
router.push({ path: url });
|
|
|
} else {
|
|
@@ -118,7 +118,7 @@ const getJump = (url: string, name: string) => {
|
|
|
|
|
|
router.push({ path: url });
|
|
|
|
|
|
- // if (import.meta.env.APP_ENV != 'pro') {
|
|
|
+ // if (import.meta.env.DEV) {
|
|
|
// proxy?.$modal.msgSuccess('测试环境直接进入');
|
|
|
// router.push({ path: url });
|
|
|
// } else {
|