You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
471 B

3 years ago
  1. 'use strict';
  2. import imgPreview from "./imageView";
  3. import helper from "./helper";
  4. /**
  5. * @description 图片预览功能
  6. * @param options {object}
  7. * @param options.fid 文件ID唯一id必填
  8. * @param options.name 文件名称
  9. * @param options.type 文件类型
  10. * @param options.url //图片地址
  11. * @param $vue Vue
  12. */
  13. export default function (options, $vue) {
  14. console.log('111,PDF预览功能');
  15. helper.createElement(options, $vue, imgPreview);
  16. }