岗位发布开发

This commit is contained in:
冯辉
2025-10-23 17:16:16 +08:00
parent 20f2038f8c
commit b72b7dd7d6
25 changed files with 3402 additions and 327 deletions

View File

@@ -117,9 +117,9 @@ const useUserStore = defineStore("user", () => {
hasLogin.value = true;
// 模拟添加用户类型字段,实际项目中应该从接口获取
if (!userInfo.value.userType) {
userInfo.value.userType = 0; // 默认设置为企业用户
}
// if (!userInfo.value.userType) {
// userInfo.value.userType = 1; // 默认设置为求职者用户
// }
// 持久化存储用户信息到本地缓存
uni.setStorageSync('userInfo', values.data);