[bug fix] Docs: 支持在 windows 下进行编译 (#185)

* support windows filesystem

* fix waterfall docs
This commit is contained in:
Yao
2017-10-11 00:50:12 +08:00
committed by GitHub
parent c0ed30e7be
commit d7d14d6630
3 changed files with 5 additions and 7 deletions

View File

@@ -10,7 +10,7 @@
import Vue from 'vue';
import { Waterfall } from 'vant';
Waterfall.install(Vue);
Vue.use(Waterfall);
```
#### 局部注册
@@ -41,12 +41,10 @@ export default {
finished: false
};
},
directives: {
WaterfallLower: Waterfall('lower'),
WaterfallUpper: Waterfall('upper')
},
methods: {
loadMore() {
if (this.list.length >= 50) {