Commit 807c3705 authored by youjie's avatar youjie

no message

parent 3b0ca16f
......@@ -8,18 +8,18 @@
border-[1px] mb-[18px] flex items-center
justify-between py-[15px] pl-[36px] pr-[22px]"
v-for="(item,index) in dataList">
<div class="w-[100px]">
<div class="w-[100px] mr-[20px]">
{{ item.name }}
</div>
<div class="w-[200px]">
<div class="flex-1 mr-[20px]">
{{ item.cityName }}{{ item.address }}
</div>
<div class="w-[150px]">
<div class="w-[200px] mr-[20px]">
{{item.phoneCode}} {{ item.phone }}
</div>
<div class="w-[100px]"
<div class="w-[200px]"
:class="[item.isDefault?'customColor-text-5':'']">
<a-switch v-if="item.isDefault" v-model="item.isDefault" :checked-value="Number(1)" :unchecked-value="Number(0)" />
<a-switch v-if="item.isDefault" v-model="item.isDefault" :checked-value="Number(1)" :unchecked-value="Number(0)" disabled/>
{{ item.isDefault?t('personal.default'):'' }}
</div>
<div class="flex items-center justify-between">
......@@ -57,7 +57,7 @@
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item :label="t('personal.city')" field="cityName" required>
<a-form-item :label="t('personal.city')" field="cityName">
<a-input class="formData-input !w-[289px] mr-[30px]"
v-model="formData.cityName"
size="large"
......@@ -325,12 +325,12 @@ const cancel = () => {
const verification = () => {
let msg = ''
// ||formData.cityName==''||!formData.cityName
if (msg==''&&(formData.name==''||!formData.name
||formData.phoneCode==''||!formData.phoneCode
||formData.phone==''||!formData.phone
||formData.countryId==''||!formData.countryId
||formData.cityName==''||!formData.cityName
||formData.address==''||!formData.address
||formData.phoneCode==''||!formData.phoneCode
||formData.phone==''||!formData.phone
)) {
msg = t('login.pleaseComplete')
}
......
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