Я обновил версии onsenui
и vue-onsenui
в моем проекте Vue.js.
до:
"onsenui": "~2.7.2",
"vue-onsenui": "~2.3.0",
после:
"onsenui": "~2.10.0",
"vue-onsenui": "~2.6.1",
После обновления не отображается следующая «сетка уведомлений».
шаблон:
<v-ons-list>
<v-ons-list-item v-for="item in menuList"
v-ripple="item.key != 'version'"
:id="item.key+'_list_item'" :key="item.key"
v-if="!(item.key == 'changeAccount' && !isExistApp)"
class="listItem" modifier="longdivider"
>
<!-- display notification_grid on "info" -->
<div v-if="item.key=='info'" id="notification_grid">
<span v-if="unReadNotification" id="notification_icon"></span>
</div>
<div class="center itemDetail" @click="item.page? goTo(item): ''">
<span>{{ item.label }}</span>
стильСетка уведомлений:
#notification_grid {
margin: 0;
padding: 0;
width: 12vw;
text-align: center;
}
Что вызвало это?