fix(profile/salary): empty input clear selected value
This commit is contained in:
parent
0ccc2215b0
commit
d99b4595fa
1 changed files with 7 additions and 1 deletions
|
|
@ -1277,7 +1277,13 @@ function inputPositionLevel(v: string) {
|
|||
}
|
||||
|
||||
function inputPositionLevelBlur() {
|
||||
if (tempPositionLevelInput.value === formDataSalary.levelPosition) return;
|
||||
if (
|
||||
!tempPositionLevelInput.value ||
|
||||
tempPositionLevelInput.value === formDataSalary.levelPosition
|
||||
) {
|
||||
tempPositionLevelInput.value = "";
|
||||
return;
|
||||
}
|
||||
|
||||
if (
|
||||
!optionStore.optipnLevel.some(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue