ztxkutils 10.0.4 → 10.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fileOperation.js +4 -4
- package/package.json +1 -1
package/dist/fileOperation.js
CHANGED
@@ -211,10 +211,10 @@ function previewFile(fileUrl, fileId, otherOption) {
|
|
211
211
|
titleName = suffixTitleName
|
212
212
|
? preTitleName + "." + suffixTitleName
|
213
213
|
: preTitleName;
|
214
|
-
window.open(_fileUrl + "/attchPreview?attachId=" + fileId + "&Zmdms-Auth=bearer " + token + "&titleName=" + encodeURIComponent(titleName)
|
214
|
+
window.open(_fileUrl + "/attchPreview?attachId=" + fileId + "&Zmdms-Auth=bearer " + token + "&titleName=" + encodeURIComponent(titleName));
|
215
215
|
}
|
216
216
|
else {
|
217
|
-
window.open(fileUrl + "/attchPreview?attachId=" + fileId + "&Zmdms-Auth=bearer " + token
|
217
|
+
window.open(fileUrl + "/attchPreview?attachId=" + fileId + "&Zmdms-Auth=bearer " + token);
|
218
218
|
}
|
219
219
|
}
|
220
220
|
/**
|
@@ -274,10 +274,10 @@ function createOriginalUrl(fileUrl, fileId, otherOption) {
|
|
274
274
|
titleName = suffixTitleName
|
275
275
|
? preTitleName + "." + suffixTitleName
|
276
276
|
: preTitleName;
|
277
|
-
return _fileUrl + "/attchPreview?attachId=" + fileId + "&Zmdms-Auth=bearer " + token + "&titleName=" + encodeURIComponent(titleName)
|
277
|
+
return _fileUrl + "/attchPreview?attachId=" + fileId + "&Zmdms-Auth=bearer " + token + "&titleName=" + encodeURIComponent(titleName);
|
278
278
|
}
|
279
279
|
else {
|
280
|
-
return _fileUrl + "/attchPreview?attachId=" + fileId + "&Zmdms-Auth=bearer " + token
|
280
|
+
return _fileUrl + "/attchPreview?attachId=" + fileId + "&Zmdms-Auth=bearer " + token;
|
281
281
|
}
|
282
282
|
}
|
283
283
|
/**
|