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
18 lines
441 B
'use strict';
|
|
|
|
import officePreview from "./officeView";
|
|
import helper from "./helper";
|
|
|
|
|
|
/**
|
|
* @description Office预览功能
|
|
* @param options {object}
|
|
* @param options.fid 文件ID,唯一id(必填)
|
|
* @param options.name 文件名称
|
|
* @param options.type 文件类型
|
|
* @param options.url // Office地址
|
|
* @param $vue Vue
|
|
*/
|
|
export default function (options, $vue) {
|
|
helper.createElement(options, $vue, officePreview);
|
|
}
|