|
@@ -2,8 +2,8 @@
|
|
|
<el-form ref="formRef" :model="formData" :rules="formRules">
|
|
<el-form ref="formRef" :model="formData" :rules="formRules">
|
|
|
<el-form-item prop="mobile">
|
|
<el-form-item prop="mobile">
|
|
|
<el-input :placeholder="t('user.forget.tips1')" type="number" v-model="formData.mobile" :rules="formRules.mobile">
|
|
<el-input :placeholder="t('user.forget.tips1')" type="number" v-model="formData.mobile" :rules="formRules.mobile">
|
|
|
- <template #prepend>
|
|
|
|
|
- <el-select v-if="countryCode != ''" v-model="countryCode" style="width: 100px">
|
|
|
|
|
|
|
+ <template #prepend v-if="countryCode">
|
|
|
|
|
+ <el-select v-model="countryCode" style="width: 100px">
|
|
|
<el-option v-for="item in getCountryCodeList()" :key="item.value" :label="item.value" :value="item.value" />
|
|
<el-option v-for="item in getCountryCodeList()" :key="item.value" :label="item.value" :value="item.value" />
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</template>
|
|
</template>
|