|
@@ -206,6 +206,11 @@ const popup = ref()
|
|
|
const resumeList = ref([])
|
|
|
const selectIndex = ref(null)
|
|
|
const handleDelivery = async () => {
|
|
|
+ if (!getAccessToken()) {
|
|
|
+ uni.showToast({ title: '您还未上传过简历,请先上传简历', icon: 'none', duration: 2000, })
|
|
|
+
|
|
|
+ return
|
|
|
+ }
|
|
|
if (delivery.value) {
|
|
|
uni.showToast({ title: '您已投递过该职位!', icon: 'none', duration: 2000, })
|
|
|
return
|
|
@@ -213,7 +218,6 @@ const handleDelivery = async () => {
|
|
|
const { data } = await getPersonResumeCv()
|
|
|
resumeList.value = data
|
|
|
if (!resumeList.value?.length) {
|
|
|
- uni.showToast({ title: '您还未上传过简历,请先上传简历', icon: 'none', duration: 2000, })
|
|
|
return
|
|
|
}
|
|
|
// show.value = true
|