Skip to content

Commit 480c7a2

Browse files
committed
fixed: failed to resolve async component
1 parent 5e84b8d commit 480c7a2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "scriptis",
3-
"version": "0.7.1",
3+
"version": "0.7.2",
44
"private": true,
55
"scripts": {
66
"serve": "vue-cli-service serve",

Diff for: src/js/component/table/list.vue

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div
33
class="list-view"
44
ref="list">
5-
<vue-scroll
5+
<vuescroll
66
:ops="ops"
77
@handle-scroll="handleScroll">
88
<list-body
@@ -24,15 +24,15 @@
2424
</div>
2525
</div>
2626
</list-body>
27-
</vue-scroll>
27+
</vuescroll>
2828
</div>
2929
</template>
3030
<script>
3131
import listBody from './body.vue';
32-
import vueScroll from './vuescroll/vuescroll-native.js';
32+
import vuescroll from 'vuescroll/dist/vuescroll-native';
3333
export default {
3434
components: {
35-
vueScroll,
35+
vuescroll,
3636
listBody,
3737
},
3838
props: {
@@ -77,7 +77,7 @@ export default {
7777
},
7878
methods: {
7979
handleScroll(v, h) {
80-
this.$emit('on-scroll', {v, h});
80+
this.$emit('on-scroll', { v, h });
8181
this.$refs.body.handleScroll(v, h);
8282
},
8383
columnItemClick(index) {
@@ -86,4 +86,4 @@ export default {
8686
},
8787
},
8888
};
89-
</script>
89+
</script>

0 commit comments

Comments
 (0)