소스 검색

日常开发

linxuxiang 1 주 전
부모
커밋
32b62de621
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 {