Browse Source

修改BUG

dev
沈明 12 months ago
parent
commit
832a516060
  1. 8
      src/pages/mine/add.vue

8
src/pages/mine/add.vue

@ -12,7 +12,7 @@ const formData = reactive<formListType>({
openid: userStore.openId,
name: '',
age: 0,
sex: 0,
sex: 1,
nation: '',
mobile: userStore.mobile,
position: '',
@ -56,7 +56,11 @@ const onSubmit = uni.$util.debounce(() => {
<view class="flex-center-between userview-info-item">
<view class="userview-info-item-label">性别</view>
<view class="userview-info-item-content flex">
<input placeholder="请输入" v-model="formData.sex" style="text-align: right" />
<u-radio-group v-model="formData.sex" placement="row">
<u-radio shape="circle" label="男" :name="1" />
<u-radio shape="circle" label="女" :name="2" />
</u-radio-group>
<!-- <input placeholder="请输入" v-model="formData.sex" style="text-align: right" /> -->
</view>
</view>
<view class="flex-center-between userview-info-item">

Loading…
Cancel
Save