步骤 1.单组件引入指令 代码如下(示例): <template> ... </template> <script> import { InfiniteScroll } from "element-ui"; </script> <style lang