Why do some components of iview bind key values?

<template>
    <Select v-model="model1" style="width:200px">
        <Option v-for="item in cityList" :value="item.value" :key="item.value">{{ item.label }}</Option>
    </Select>
</template>
Mar.04,2021

all loop components in vue need key


document

dom updates do not cause reuse exceptions.

Menu