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
441 B

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