mirari / v-viewer

Image viewer component for vue, supports rotation, scale, zoom and so on, based on viewer.js
https://mirari.cc/v-viewer/
MIT License
2.47k stars 293 forks source link

您好,请问一下为什么我按指令方式调用后,能打开图片了,但下边的ToolBar却只有一张图片,不是全部呢? #259

Closed visatest closed 1 year ago

visatest commented 1 year ago

export default { directives: { viewer: viewer({ debug: true, }), }, options: { toolbar: true, images: this.images, movable: false } }

mirari commented 1 year ago

options没有images这个配置项,使用方法参考示例 指令和组件方式调用,都需要将图片实际渲染到目标元素内部