소스 검색

区分生产环境展示地址

lifanagju_citu 5 달 전
부모
커밋
d033d858e2
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/plugins/dialogExtend/components/infoForm.vue

+ 4 - 0
src/plugins/dialogExtend/components/infoForm.vue

@@ -270,6 +270,10 @@ const items = ref({
   ]
 })
 
+if (import.meta.env.VITE_NODE_ENV === 'production') {
+  items.value.options = items.value.options.filter(e => e.key !== 'analysis')
+}
+
 
 // 选择文件
 const fileInput = ref()