Authored by 郭成尧

code-lint-error

@@ -8,11 +8,11 @@ @@ -8,11 +8,11 @@
8 <input type="hidden" name="id" value=""> 8 <input type="hidden" name="id" value="">
9 <label class="username"> 9 <label class="username">
10 收 货 人 : 10 收 货 人 :
11 - <input type="text" name="consignee" maxlength="21" v-model="editAddressInfo.consignee" v-bind:value="editAddressInfo.consignee"> 11 + <input type="text" name="consignee" maxlength="21" v-model="editAddressInfo.consignee">
12 </label> 12 </label>
13 <label class="mobile"> 13 <label class="mobile">
14 联系电话: 14 联系电话:
15 - <input type="text" name="mobile" v-model="editAddressInfo.mobile" v-bind:value="editAddressInfo.mobile"> 15 + <input type="text" name="mobile" v-model="editAddressInfo.mobile">
16 </label> 16 </label>
17 <label class="area" @click="showAct"> 17 <label class="area" @click="showAct">
18 所在地区: 18 所在地区:
@@ -22,7 +22,7 @@ @@ -22,7 +22,7 @@
22 </label> 22 </label>
23 <label class="address"> 23 <label class="address">
24 详细地址: 24 详细地址:
25 - <textarea name="address" maxlength="255" v-model="editAddressInfo.address">{{editAddressInfo.address}}</textarea> 25 + <textarea name="address" maxlength="255" v-model="editAddressInfo.address"></textarea>
26 </label> 26 </label>
27 </form> 27 </form>
28 28
@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 </div> 32 </div>
33 <div v-else class="address-list-wrap"> 33 <div v-else class="address-list-wrap">
34 <div class="address-list"> 34 <div class="address-list">
35 - <div class="address-item" v-for="addr in addressList" @click="choseAddress(addr)"> 35 + <div class="address-item" v-for="(addr, index) in addressList" @click="choseAddress(addr)" :key="index">
36 <span class="name">{{addr.consignee}}</span> 36 <span class="name">{{addr.consignee}}</span>
37 <span class="tel">{{addr.mobile}}</span> 37 <span class="tel">{{addr.mobile}}</span>
38 <p class="address-info">{{addr.area}} {{addr.address}}</p> 38 <p class="address-info">{{addr.area}} {{addr.address}}</p>