Browse Source

测试使用

lifanagju_citu 8 tháng trước cách đây
mục cha
commit
e96b7fb2ed
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      src/layout/personal/navBar.vue

+ 7 - 0
src/layout/personal/navBar.vue

@@ -107,6 +107,7 @@
       <v-radio-group v-model="radios">
         <v-radio v-for="item in enterpriseList" :key="item.enterpriseId" color="primary" :label="item.enterpriseName" :value="item.enterpriseId"></v-radio>
       </v-radio-group>
+      <v-btn v-if="showRegistering" class="buttons" @click="handleRegistering">注册企业</v-btn>
     </CtDialog>
   </div>
 </template>
@@ -207,6 +208,12 @@ const getApplyInfo = async () => {
   router.replace({ path })
 }
 
+const showRegistering = ref(false)
+if (window.location.hostname === 'localhost' || window.location.hostname === '192.168.3.218' || window.location.hostname === '192.168.3.152') {
+  showRegistering.value = true
+}
+const handleRegistering = () => { router.push('/recruit/enterprise/register') }
+
 const handleToPersonalCenter = () => {
   router.push({ path: paths[5] })
 }