ztxkui 3.3.2 → 3.3.3
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.
|
@@ -80,7 +80,7 @@ var PrintContainer = function (_a) {
|
|
|
80
80
|
}, [keywordList]);
|
|
81
81
|
// 根据流程id 部门id获取印章信息 跟 关键字信息
|
|
82
82
|
useEffect(function () {
|
|
83
|
-
if (deptId && flowId) {
|
|
83
|
+
if (deptId && flowId && request) {
|
|
84
84
|
request({
|
|
85
85
|
url: '/api/zmdms-resource/flowdeptseal/page',
|
|
86
86
|
method: 'GET',
|
|
@@ -131,7 +131,7 @@ var PrintContainer = function (_a) {
|
|
|
131
131
|
}, [deptId, flowId, request]);
|
|
132
132
|
// 根据附件id 下载文件资源 这个是解决中文乱码问题得字体包
|
|
133
133
|
useEffect(function () {
|
|
134
|
-
if (fileId) {
|
|
134
|
+
if (fileId && request) {
|
|
135
135
|
loadFontTTFPromise = downloadFontTTF({
|
|
136
136
|
fileId: fileId,
|
|
137
137
|
request: request,
|