|
@@ -321,15 +321,15 @@ Page({
|
|
|
})
|
|
|
return;
|
|
|
}
|
|
|
- if(!this.data.resumeFileNow){
|
|
|
- wx.showToast({
|
|
|
- title: '请上传附件',
|
|
|
- icon: 'none',
|
|
|
- duration: 1000
|
|
|
- })
|
|
|
- return;
|
|
|
- }
|
|
|
-
|
|
|
+ // if(!this.data.resumeFileNow){
|
|
|
+ // wx.showToast({
|
|
|
+ // title: '请上传附件',
|
|
|
+ // icon: 'none',
|
|
|
+ // duration: 1000
|
|
|
+ // })
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ var resumeFileName = this.data.resumeFileNow?this.data.resumeFileName:''
|
|
|
var params = {
|
|
|
userId:this.data.userId,
|
|
|
name:this.data.name,
|
|
@@ -347,7 +347,7 @@ Page({
|
|
|
nowSalary:this.data.nowSalary,
|
|
|
hopeSalary:this.data.hopeSalary,
|
|
|
resumeFile:this.data.resumeFileNow,
|
|
|
- resumeFileName:this.data.resumeFileName,
|
|
|
+ resumeFileName:resumeFileName,
|
|
|
};
|
|
|
await recruitApi.saveUser(params);
|
|
|
|