Fix issues of no file extension for pad export
This commit is contained in:
@@ -34,7 +34,7 @@ define([
|
||||
var path = '/' + type + '/export.js';
|
||||
require([path], function (Exporter) {
|
||||
Exporter.main(json, function (data) {
|
||||
result.ext = '.' + Exporter.type;
|
||||
result.ext = Exporter.ext || '';
|
||||
result.data = data;
|
||||
cb(result);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user