Browse Source

区分生产环境展示地址

lifanagju_citu 5 tháng trước cách đây
mục cha
commit
d033d858e2
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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()