跨平台不支持引入 jQuery 等操作 DOM 的插件,H5 平台可以通过条件编译的方式引入使用。 //#ifdef H5 import $ from '@/static/js/jquery' //#endif