=【职业图谱】

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'