linxuxiang hai 1 semana
pai
achega
32b62de621
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {