This commit is contained in:
otofune 2017-11-06 16:11:24 +09:00
parent 5279d062df
commit b266ed3e4f
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,6 @@ export default (
detail: false
}, options);
if (!file) return reject('invalid file arg.')
let _file: any;
// Populate the file if 'file' is ID
@ -42,6 +40,8 @@ export default (
_file = deepcopy(file);
}
if (!_file) return reject('invalid file arg.')
// rendered target
let _target: any = {};