n20-common-lib 2.8.0 → 2.8.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -136,8 +136,8 @@ export async function getCertInfo(dn) {
136
136
  IWSASkfGetCertList(
137
137
  process.env.VUE_APP_NetSign_ARG || window.VUE_APP_NetSign_ARG || 'ShuttleCsp11_3000GM.dll',
138
138
  (CertListData, errorCode) => {
139
- if (errorCode !== '0' && errorCode !== 0) {
140
- Message.error(codeDate[errorCode])
139
+ if (errorCode) {
140
+ Message.error(codeDate[errorCode] || errorCode)
141
141
  reject()
142
142
  } else {
143
143
  const checkRes = verifyDn(CertListData, dn)