mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-26 07:54:04 +00:00
add bind key for postcode array
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
<div class="col">
|
||||
<list-component :key="key" section="allPostcodesSection" :endpoint="route('api.address.district.list')" :options="options">
|
||||
<template slot="list" slot-scope="{data}">
|
||||
<list-postcode-component :data="item" :searchValue="submittedPostcode" v-for="item in data.postcodeArray"></list-postcode-component>
|
||||
<list-postcode-component :data="item" :searchValue="submittedPostcode" v-for="(item, index) in data.postcodeArray" v-bind:key="index"></list-postcode-component>
|
||||
</template>
|
||||
</list-component>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user