fix
This commit is contained in:
parent
5279d062df
commit
b266ed3e4f
|
@ -25,8 +25,6 @@ export default (
|
||||||
detail: false
|
detail: false
|
||||||
}, options);
|
}, options);
|
||||||
|
|
||||||
if (!file) return reject('invalid file arg.')
|
|
||||||
|
|
||||||
let _file: any;
|
let _file: any;
|
||||||
|
|
||||||
// Populate the file if 'file' is ID
|
// Populate the file if 'file' is ID
|
||||||
|
@ -42,6 +40,8 @@ export default (
|
||||||
_file = deepcopy(file);
|
_file = deepcopy(file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!_file) return reject('invalid file arg.')
|
||||||
|
|
||||||
// rendered target
|
// rendered target
|
||||||
let _target: any = {};
|
let _target: any = {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue