页面调整
This commit is contained in:
parent
d93d37ee6c
commit
9e3c698be9
@ -402,7 +402,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
const parsedData = JSON.parse(res.data);
|
const parsedData = JSON.parse(res.data);
|
||||||
|
if (parsedData.code == 200) {
|
||||||
// 第二步:从解析后的数据中获取ossId
|
// 第二步:从解析后的数据中获取ossId
|
||||||
const ossId = parsedData.data.ossId;
|
const ossId = parsedData.data.ossId;
|
||||||
console.log("ossId", ossId)
|
console.log("ossId", ossId)
|
||||||
@ -417,6 +417,12 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}else{
|
||||||
|
uni.showToast({
|
||||||
|
title: '上传失败',
|
||||||
|
icon: 'none'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// uni.showToast({
|
// uni.showToast({
|
||||||
|
Loading…
Reference in New Issue
Block a user