mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[bug fix] Docs: 支持在 windows 下进行编译 (#185)
* support windows filesystem * fix waterfall docs
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user