Browse Source

日常开发

linxuxiang 1 week ago
parent
commit
32b62de621
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/home/index.vue

+ 1 - 1
src/views/home/index.vue

@@ -35,7 +35,7 @@ const getJump = (url: string, name: string) => {
     return false;
   }
   if (url == '/set') {
-    if (import.meta.env.DEV) {
+    if (import.meta.env.DEV || import.meta.env.development) {
       proxy?.$modal.msgSuccess('测试环境免密进入');
       router.push({ path: url });
     } else {