首先先安装依赖: npm install v-viewer --save 然后全局引入,我这边是在main.js里面操作写的: import Viewer from 'v-viewer' import 'viewerjs/dist/viewer.css' 然后注册下: Vue.use(Viewer) Read More
posted @ 2020-02-13 00:12 护花使者 Views(2826) Comments(1) Diggs(0) Edit