fix non-premitive key

This commit is contained in:
Jack Goh
2018-08-30 16:12:38 +08:00
parent d56f185c69
commit 4a02732eb7
+2 -2
View File
@@ -13,8 +13,8 @@
<el-dropdown-menu slot="dropdown">
<div id="notification">
<div v-if="notifications">
<div v-for="item in notifications" :key="item">
<a href="#">
<div v-for="(idx,item) in notifications" :key="idx">
<a href="{{item.data.link}}">
<el-dropdown-item>
<!-- <b v-if="item.is_read == 0">
{{item.detail}}