pages/mjgl/mjby.vue
@@ -1,8 +1,47 @@ <template> <view> <mold-list page-title="模具保养" navigate-to-url="./mjby2"></mold-list> </view> </template> <script> import moldList from '@/components/mold-list/mold-list.vue' export default { components: { moldList }, data() { return { } }, onShow() { //第一次时调用一下,且uni.createSelectorQuery()需要在生命周期mounted之后使用 // this.scroll() }, created() { }, mounted() { }, methods: { } } </script> <style> <style lang="scss" scoped> </style>