=【职业图谱】

This commit is contained in:
2026-05-22 16:24:09 +08:00
parent 75ee6f7682
commit 4faaedcbbd
4 changed files with 9 additions and 599 deletions

View File

@@ -80,7 +80,7 @@ export const useCareerPathStore = defineStore('career-path', () => {
const fetchData = async () => {
try {
const { code, msg, data } = await getCurrentPosition();
if (code !== 0) {
if (code !== 200) {
uni.showToast({
title: msg,
icon: 'none'
@@ -104,7 +104,7 @@ export const useCareerPathStore = defineStore('career-path', () => {
const fetchDataPath = async () => {
try {
const { code, msg, data } = await getPath();
if (code !== 0) {
if (code !== 200) {
uni.showToast({
title: msg,
icon: 'none'
@@ -137,7 +137,7 @@ export const useCareerPathStore = defineStore('career-path', () => {
};
try {
const { code, msg, data } = await getPathDetail(params);
if (code !== 0) {
if (code !== 200) {
uni.showToast({
title: msg,
icon: 'none'

View File

@@ -105,7 +105,7 @@ export const useCareerRecommendationStore = defineStore('career-recommendation',
};
try {
const { code, msg, data } = await getSkillTags(params);
if (code !== 0) {
if (code !== 200) {
uni.showToast({
title: msg,
icon: 'none'
@@ -126,7 +126,7 @@ export const useCareerRecommendationStore = defineStore('career-recommendation',
};
try {
const { code, msg, data } = await getRecommend(params);
if (code !== 0) {
if (code !== 200) {
uni.showToast({
title: msg,
icon: 'none'

View File

@@ -92,7 +92,7 @@ export const useSkillDevelopmentStore = defineStore('skill-development', () => {
const fetchData = async () => {
try {
const { code, msg, data } = await getCurrentPosition();
if (code !== 0) {
if (code !== 200) {
uni.showToast({
title: msg,
icon: 'none'
@@ -116,7 +116,7 @@ export const useSkillDevelopmentStore = defineStore('skill-development', () => {
const fetchDataPath = async () => {
try {
const { code, msg, data } = await getPath();
if (code !== 0) {
if (code !== 200) {
uni.showToast({
title: msg,
icon: 'none'
@@ -149,7 +149,7 @@ export const useSkillDevelopmentStore = defineStore('skill-development', () => {
};
try {
const { code, msg, data } = await getCareerPath(params);
if (code !== 0) {
if (code !== 200) {
uni.showToast({
title: msg,
icon: 'none'
@@ -195,7 +195,7 @@ export const useSkillDevelopmentStore = defineStore('skill-development', () => {
};
try {
const { code, msg, data } = await getSkillResult(params);
if (code !== 0) {
if (code !== 200) {
uni.showToast({
title: msg,
icon: 'none'