岗位发布开发
This commit is contained in:
		| @@ -31,13 +31,13 @@ const userTypes = [ | ||||
|     { value: 3, label: '政府人员' } | ||||
| ]; | ||||
|  | ||||
| const currentUserType = computed(() => userInfo.value?.userType || 0); | ||||
| const currentUserType = computed(() => userInfo.value?.isCompanyUser !== undefined ? userInfo.value.isCompanyUser : 0); | ||||
|  | ||||
| const switchUserType = (userType) => { | ||||
|     console.log('切换用户类型:', userType); | ||||
|     console.log('切换前 userInfo:', userInfo.value); | ||||
|      | ||||
|     userInfo.value.userType = userType; | ||||
|     userInfo.value.isCompanyUser = userType; | ||||
|      | ||||
|     console.log('切换后 userInfo:', userInfo.value); | ||||
|      | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 冯辉
					冯辉