|
@@ -185,8 +185,10 @@ const handleToAnotherEnterpriseSubmit = async () => {
|
|
|
localStorage.setItem('loginType', 'enterprise')
|
|
|
}
|
|
|
|
|
|
+const test = ref(false)
|
|
|
// 企业列表
|
|
|
const getEnterpriseListData = async () => {
|
|
|
+ if (!test.value) return
|
|
|
const data = await getUserBindEnterpriseList() // 申请通过才有数据,否则空数组
|
|
|
enterpriseList.value = data || []
|
|
|
}
|