=【职业图谱】
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user