mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 14:36:43 +08:00
[FIX] 修改工作单位为非必填
This commit is contained in:
@@ -252,11 +252,9 @@
|
||||
<van-field
|
||||
v-if="specilFlag != '1'"
|
||||
v-model="userInfo.workcompany"
|
||||
required
|
||||
label="工作单位"
|
||||
name="工作单位"
|
||||
placeholder="无工作单位,请输入无"
|
||||
v-validate="'required'"
|
||||
maxlength="50"
|
||||
clearable
|
||||
/>
|
||||
@@ -1076,12 +1074,13 @@ export default {
|
||||
) {
|
||||
} else if (this.userInfo.workcompany.length < 6 && this.userInfo.workcompany.trim() != '无') {
|
||||
// await this.asyncToast('亲,您填写的工作单位过于简短哦~')
|
||||
await this.$dialog.confirm({
|
||||
title: '提示',
|
||||
message: '亲,您填写的工作单位过于简短哦~',
|
||||
confirmButtonText: '继续填写',
|
||||
cancelButtonText: '返回修改'
|
||||
})
|
||||
this.userInfo.workcompany = '无'
|
||||
// await this.$dialog.confirm({
|
||||
// title: '提示',
|
||||
// message: '亲,您填写的工作单位过于简短哦~',
|
||||
// confirmButtonText: '继续填写',
|
||||
// cancelButtonText: '返回修改'
|
||||
// })
|
||||
}
|
||||
|
||||
if (this.userInfo.salarySource == '4') {
|
||||
|
||||
Reference in New Issue
Block a user