test: update snapshots

pull/225/head
tangjinzhou 2018-10-10 15:01:36 +08:00
parent de8cee6caf
commit 164d74768a
2 changed files with 4 additions and 5 deletions

View File

@ -128,11 +128,11 @@ exports[`renders ./components/list/demo/infinite-virtualized-load.md correctly 1
<div class="ant-list ant-list-split">
<div class="ant-spin-nested-loading">
<div class="ant-spin-container">
<div data-v-caa2d078="" class="virtual-scroller" infinite-scroll-distance="10" style="height: 400px;">
<div data-v-caa2d078="" class="item-container">
<div data-v-caa2d078="" class="items"></div>
<div data-v-3eef485a="" class="virtual-scroller" infinite-scroll-distance="10" style="height: 400px;">
<div data-v-3eef485a="" class="item-container">
<div data-v-3eef485a="" class="items"></div>
</div>
<div data-v-b329ee4c="" data-v-caa2d078="" tabindex="-1" class="resize-observer"><object style="display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;" aria-hidden="true" tabindex="-1" type="text/html" data="about:blank"></object></div>
<div data-v-b329ee4c="" data-v-3eef485a="" tabindex="-1" class="resize-observer"><object style="display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;" aria-hidden="true" tabindex="-1" type="text/html" data="about:blank"></object></div>
</div>
</div>
</div>

View File

@ -118,7 +118,6 @@ const Drawer = {
this.$nextTick(() => {
// dom 没渲染时,重走一遍。
if (!this.sFirstEnter && this.container) {
console.log(1)
this.$forceUpdate()
this.sFirstEnter = true
}