unify-external-plugin-platform 0.0.3-86 → 0.0.3-87

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.
@@ -85129,7 +85129,7 @@ class WeiRongPluginService {
85129
85129
  } catch (e) {
85130
85130
  clearInterval(this.timer);
85131
85131
  this.timer = null;
85132
- reject('签字结果=>获取签名状态失败:' + (e?.message || e));
85132
+ reject('签字结果=>获取签名状态失败:' + (e && e.message ? e.message : e));
85133
85133
  return;
85134
85134
  }
85135
85135
  if (status.signScreenStatus == 2) {
@@ -85139,7 +85139,7 @@ class WeiRongPluginService {
85139
85139
  let res = await WeiRongPluginService.read(WEIRONGMethodCode.GetSignName_Base64);
85140
85140
  resolve(res.signPicBase64);
85141
85141
  } catch (e) {
85142
- reject('签字结果=>获取签名失败:' + (e?.message || e));
85142
+ reject('签字结果=>获取签名失败:' + (e && e.message ? e.message : e));
85143
85143
  }
85144
85144
  } else if (status.retVal == 3) {
85145
85145
  clearInterval(this.timer);
@@ -85139,7 +85139,7 @@ class WeiRongPluginService {
85139
85139
  } catch (e) {
85140
85140
  clearInterval(this.timer);
85141
85141
  this.timer = null;
85142
- reject('签字结果=>获取签名状态失败:' + (e?.message || e));
85142
+ reject('签字结果=>获取签名状态失败:' + (e && e.message ? e.message : e));
85143
85143
  return;
85144
85144
  }
85145
85145
  if (status.signScreenStatus == 2) {
@@ -85149,7 +85149,7 @@ class WeiRongPluginService {
85149
85149
  let res = await WeiRongPluginService.read(WEIRONGMethodCode.GetSignName_Base64);
85150
85150
  resolve(res.signPicBase64);
85151
85151
  } catch (e) {
85152
- reject('签字结果=>获取签名失败:' + (e?.message || e));
85152
+ reject('签字结果=>获取签名失败:' + (e && e.message ? e.message : e));
85153
85153
  }
85154
85154
  } else if (status.retVal == 3) {
85155
85155
  clearInterval(this.timer);