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