1

parent e539c0d0
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
</view> </view>
</wd-picker> </wd-picker>
</form-item> </form-item>
<view class="transverse"> <view>
<form-item title="学历" icon=""> <form-item title="学历" icon="">
<wd-picker <wd-picker
:columns="educationPostion" :columns="educationPostion"
...@@ -449,9 +449,11 @@ const columnChangeMajor = ({ selectedItem, resolve, finish }) => { ...@@ -449,9 +449,11 @@ const columnChangeMajor = ({ selectedItem, resolve, finish }) => {
}; };
const handleConfirmMajor = (params, item) => { const handleConfirmMajor = (params, item) => {
const { value } = params; const { value } = params;
item.majorText = value[0]; if (value[1]) {
item.majorRequirement = value[0]; item.majorText = value.join("-");
if (value[0] == "不限") { item.majorRequirement = value.join("-");
} else {
item.majorText = "不限";
item.majorRequirement = ""; item.majorRequirement = "";
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment