Commit 807c3705 authored by youjie's avatar youjie

no message

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