@uxda/appkit 4.3.4 → 4.3.5
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/index.js
CHANGED
|
@@ -1316,7 +1316,7 @@ var script$I = /* @__PURE__ */ defineComponent({
|
|
|
1316
1316
|
side: props.side
|
|
1317
1317
|
});
|
|
1318
1318
|
hideLoading();
|
|
1319
|
-
if (props.side === "face" && !res?.name || props.side === "back" && !res?.
|
|
1319
|
+
if (props.side === "face" && !res?.name || props.side === "back" && !res?.signDate) {
|
|
1320
1320
|
$n.dialog({
|
|
1321
1321
|
title: "\u8BC6\u522B\u5931\u8D25",
|
|
1322
1322
|
message: `\u60A8\u4E0A\u4F20\u7684\u56FE\u7247\u53EF\u80FD\u4E0D\u591F\u6E05\u6670\u6216\u4E0E\u5F53\u524D\u529F\u80FD\u4E0D\u7B26\uFF0C\u8BF7\u91CD\u65B0\u4E0A\u4F20\u4E00\u5F20\u6E05\u6670\u3001\u5B8C\u6574\u7684\u56FE\u7247\u3002\u8C22\u8C22\uFF01`,
|
package/package.json
CHANGED
|
@@ -154,7 +154,7 @@ async function getOcrInfo(file: string | FileType) {
|
|
|
154
154
|
})
|
|
155
155
|
hideLoading()
|
|
156
156
|
|
|
157
|
-
if ((props.side === 'face' && !res?.name) || (props.side === 'back' && !res?.
|
|
157
|
+
if ((props.side === 'face' && !res?.name) || (props.side === 'back' && !res?.signDate)) {
|
|
158
158
|
$n.dialog({
|
|
159
159
|
title: '识别失败',
|
|
160
160
|
message: `您上传的图片可能不够清晰或与当前功能不符,请重新上传一张清晰、完整的图片。谢谢!`,
|