=【职业图谱】

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

@@ -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'